|
Author
|
Message
|
|
bad
Join Date: Jul 2004
Location: CS lab
|

03-28-2006
, 01:02
|
#1
|
It isn't spam, it was an honest attempt to try ot understand your problem and help you with it. It wasn't a pointless question; I was trying to understand what it did.
Now then, I understand now you are catching when a client dies, and is killed by worldspawn, so you can figure out when they change teams. Makes...some sense. However, clients are killed by worldspawn due to fall damage too, so I didn't understand to start with.
However, to answer your question: Check to see what at_type is. It might be the id of the player. If not, try read_data. Its still a message, so it should be possible to get said information back, unless its simply a debug or log message, in which case, you may need to use some other method of getting when this occurs.
Unfortunately, I still don't understand why you are using AlertMessage for this. Why are you trying to block the message? I don't see why there is a reason to block it. Why not use one of the messages that goes with register_message? I'm sure there is one for changing teams, or some other method which doesn't have a loophole like this one?
__________________
.png" rel="nofollow noopener">
|
|
|
|