Raised This Month: $ Target: $400
 0% 

How would you go about catching an entity touch?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-01-2009 , 22:58   How would you go about catching an entity touch?
Reply With Quote #1

Ok, funny situation. Some maps in CS, you can "break" doors by like jumping at then, they have a sound attached to them via the map so you know your interacting in some way.

I need to find a way to negate this, "touch" so you can't affect it.

I have tried

PHP Code:
RegisterHam(Ham_Touch"door1""rhTouchCell")
public 
rhTouchCell(iEntiPlayer)
{
    if( 
IsPlayer(iPlayer) && is_user_admin(iPlayer) )
    {
        
client_print(iPlayerprint_chat"[DEBUG] Stay away from the door man.")
    }
}

doesn't work ever. :-/ I'm not sure whyI was also told RegsiterHam touch didn't work, it's been brokenso I tried register_touch and still nothing
Styles is offline
Send a message via AIM to Styles
 


Thread Tools
Display Modes

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 17:36.


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