Hello, I have a problem in this script, I can not get the touch of the player through the targetname of trigger_multiple.
PHP Code:
public plugin_init(){
register_touch("player", "trigger_multiple", "FwdPlayerTouch");
}
public FwdPlayerTouch(iEntity, iPlayer){
new iTarget[32];
pev(iEntity, pev_target, iTarget, 31 );
if(equali(iTarget, "start_zombies1")){
client_print(iPlayer, print_chat, "Teste");
}
}
already done everything but does not work at targetname, if someone can help me, I'll be grateful ..
Below the print configuration of the trigger:
Print Map:
http://i.imgur.com/nG8e1CO.png
__________________