Addon Details

Watch - Add Favorite


Does this version work for you?
2
w00ts
w00t!2

Forbids - Version 1.0.5

posted on 2008-09-23 14:16:48
by pitbull0993



Description

[size=18][b]Forbid Script by PitBull[/b][/size] This script forbids things like using shotguns (M3 and XM1014), to plant a bomb, to defuse a bomb, to use the scope at auto-sniper-rifles (Thanks to [url=http://forums.mattie.info/cs/forums/viewtopic.php?p=233143#233143]RideGuy[/url]). [b]1. Forbid Shotguns[/b] You can forbid the M3 and the XM1014 seperatly. [syntax="es"]es_xset f_m3 1 // Forbid M3 es_xset f_xm1014 1 // Forbid XM1014[/syntax] [b]2. Forbid Bomb-planting/defusing[/b] You can forbid the planting or defusing of the bomb. If the user trys to plant/defuse, he will be slapped with 0 damage. [syntax="es"]es_xset f_defuse 1 // Forbid defuse es_xset f_plant 0 // Forbid plant[/syntax] [b]3. Forbid the Scope at Auto-Sniper-Rifles[/b] [size=9]For this part I used a little snippet by [url=http://forums.mattie.info/cs/forums/viewtopic.php?p=233143#233143]RideGuy[/url]. Thank you for that![/size] You can forbid that a user can use the scopes on the SG550 and the G3SG1. [syntax="es"]es_xset f_aszoom 1 // Forbid zoom at auto-snipers[/syntax] [b]4. Forbid weapons that you can choose[/b] You can forbid the weapons you want to forbid. [syntax="es"]es_xset f_pweapons_active 1 // Activate the using of the primary-weapons-forbid es_xset f_sweapons_active 1 // Activate the using of the secondary-weapons-forbid // Insert the primary weapons you want to forbid and seperate them with a space in f_pweapons (without the weapon_ in front) es_xset f_pweapons "" // Insert the secondary weapons you want to forbid and seperate them with a space in f_sweapons (without the weapon_ in front) es_xset f_sweapons ""[/syntax] For example: [syntax="es"]f_pweapons "ak47 m4a1 awp" f_sweapons "deagle glock"[/syntax] This would block the AK47, the M4, the AWP, the Desert Eagle and the Glock. [b]5. Miscellaneous[/b] Here you can set if adverts should be displayed and if they are displayed in which style. Also how many damage the slap should do to the person. Default: 0. [syntax="es"]es_xset f_adverts 1 // Display adverts (0 = off, 1 = round-start, 2 = player-activate) es_xset f_slap 0 // Amount of damage when do a slap[/syntax] [b]6. Menus[/b] The script contains an admin and an user-menu. In the usermenu you can see the active settings. In the admin-menu you can edit the settings. Important: Always press 8 (refresh) after changing a value. The popup doesn't refresh automatically. I hope you like the script.

Installation

Edit the config-block in the es_forbids.txt and add [b]es_load forbids[/b] to your autoexec.cfg If you want to use the admin-menu, make yourself an auth-provider by adding [code]es_load examples/auth/basic_auth BASIC_AUTH_ADMIN_LIST "STEAM_ID_LAN;STEAM_X:X:XXXXXX;"[/code] to your autoexec.cfg

Version Notes For 1.0.5

Updated on: 2008-10-10 07:09:40 EST by pitbull0993 (View Zip Contents)
Changed anti-scope method.

( Previous Versions )