Hi.
How can I detect deathrun maps trigger_hurt entities that kill players. It is usually world entity. I have tried this :
Code:
PreThink( id ) .. {
static ent_name[ 16 ];
pev( iEnt, pev_classname, ent_name, charsmax(ent_name));
client_print( id, print_chat, ent_name );
if( equali( ent_name, "trigger_hurt" ) )
When I am standing on the ground that kills me (trigger_hurt world entity) it doesn't print me anything to chat.