 |
|
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
|

03-30-2014
, 04:25
Re: func_escapezone
|
#5
|
Quote:
Originally Posted by minato
PHP Code:
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_forward(FM_Touch, "clientTouch"); }
public clientTouch( pd , pi) { new class[64]; pev(pd,pev_classname, class, charsmax(class)); if( is_user_alive(pi) && g_vip[pi] ) { if( equal(class, "func_escapezone") || equal(class,"func_vip_safetyzone") ) { new players[32], inum, tempid get_players(players,inum,"aeh","TERRORIST") for (new i = 0; i < inum; i++) { // this not be executed if not there terrorists is online tempid = players[i] user_silentkill(tempid); } } } return FMRES_IGNORED; }
|
DON'T USE FM_Touch
Use register_touch
__________________
|
|
|
|