hello,
i have the number of my 'ent'.
i want to know who press it,
(for deathrun)
i got this:
PHP Code:
public pfw_killed(id, attacker, shouldgib)
{
new classname[32]
pev(attacker, pev_classname, classname, 31)
if (!equal(classname, "trigger_hurt"))
return HAM_IGNORED
client_print(id, print_chat, "KILLED BY TRIGGER HURT ent: %d", attacker)
return HAM_IGNORED
}
how can i take the name who press the bottun?