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?