Just a simple add-on which lets you create zones in which entering enemies are slayed ,kicked or banned.
Also you have the option to allow only knives in these zones and if they use a different weapon then they will get slayed.
Additionally there is an option to allow rushing on bomb planting or hostage rescue.
It has an easy setup. You open the menu with !zones
You have to be authed to be able to use the !zones command:
[code]es_load examples/auth/basic_auth
BASIC_AUTH_ADMIN_LIST "STEAM_ID_LAN;STEAM_0:0:571273;"[/code]
put that into your autoexec and change the steamids to your own and restart server afterwards
DONT FORGET TO +W00T
After the first load a config will appear in your folder
[code]// ../addons/eventscripts/anti_rush/config.cfg
// Anti Rush Version 1.1 by AbSoLuTe
// For more info, visit: http://addons.eventscripts.com/addons/view/anti_rush
// ********************************************************************
// SETUP
// ********************************************************************
// Time till rushing is allowed (0 means never)
norushtime 0
// Rushing will be allowed on Bomb defuse or Hostage rescue
rushevent 1
// The time between each position check
checktime 0.5
// If there is only <num> players of one team left, then the other team will be allowed to rush ( 0 means disabled )
last_man_rushing 0
// The punish method (0 = let them only use their knife whilst in the region if they dont slay them,1 = slay, 2 = kick, 3 = ban)
rush_punishment 4
// Time the rusher gets banned , if used (0 means permanent!)
bantime 10
// If authed admins should be immune to the rush punishment
admin_immunity 0
// If there should be a beam, which shows the region
beam 1
// Following are the colors of the Beam for the Ts
t_red_amount 255
t_green_amount 0
t_blue_amount 0
// Following are the colors of the Beam for the CTs
ct_red_amount 0
ct_green_amount 0
ct_blue_amount 255
anti_rush_debug 0
[/code]
Installation
Just copy the files on your ftp and add es_load anti_rush to your autoexec.cfg
Version Notes For 1.1
Updated on: 2010-02-16 02:32:07 EST by Absolute (View Zip Contents)
-Fixed the crash on Linux
-Added new rush punishment which now slays you if you are only holding a weapon in an enemy region
-Fixed the advert bugging with norushtime 0