Raised This Month: $ Target: $400
 0% 

Detect trigger_hurt world entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kowalsky
Senior Member
Join Date: Mar 2015
Location: Poland
Old 11-10-2015 , 05:03   Detect trigger_hurt world entity
Reply With Quote #1

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.

Last edited by Kowalsky; 11-11-2015 at 05:55.
Kowalsky is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode