Raised This Month: $ Target: $400
 0% 

how register private event ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
waterforces
New Member
Join Date: Dec 2009
Old 12-23-2009 , 02:34   how register private event ?
Reply With Quote #1

In my script I register a event "Damage"; I want the event active when I am losing HP,
========================================
register_event("Damage", "imdamage", "b", "2!0")
......
public imdamage(id)
{
......
}

========================================
but I find the event will happen when anyone is losing his life.

who can give me a register_event method that only respond my damage?

Or, who can teach me how to judge if the id that event give is my userid?

Thanks
waterforces 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 04:15.


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