Quote:
Originally Posted by nacho312
Hello, I'm looking for a plugin for my zombie escape server.
A plugin which gives to the player damage when he's trying to block the helicopter/car/train/etc at the end of the map, I searched, but I didn't find it yet.
EDIT: Sorry, I forgot to put [req] at the beginning of the tittle.
|
One can still modify the title!
I searched also and found every non-related plugin in existence.
Assuming you mean VIP escape zone where these
planes, trains, and automobiles dwell 'at the end of the map'.
Code:
#include amxmodx
#include cstrike
#include engine
#include fakemeta
public plugin_init()
{
register_plugin("vip zone antiblocking", "1.0", "SPiNX");
register_forward(FM_PlayerPreThink, "zone_think", 1);
}
public zone_think(cstrike_user)
{
if (cs_get_user_mapzones(cstrike_user) == CS_MAPZONE_ESCAPE || cs_get_user_mapzones(cstrike_user) == CS_MAPZONE_VIP_SAFETY)
fakedamage(cstrike_user,"ESCAPE ZONE HACKING",1.0,DMG_TIMEBASED);
}
I tested this plugin on as_oilrig as well as es_trinity. VIP can escape but the campers there are handled. Zombie the code how you please.
__________________