Hmm okay, I have this code now and it's working, but as I thought it will execute the code also on teleporters.
PHP Code:
public ent_touch(ent,player)
{
if(!pev_valid(ent) || !pev_valid(player))
return HAM_IGNORED;
new ent_class[33];
pev(ent, pev_classname, ent_class, 32)
if(equali(ent_class, "trigger_teleport") && g_Impossible[player])
{
user_kill(player)
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
__________________