Raised This Month: $ Target: $400
 0% 

FM_AlertMessage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-28-2006 , 01:02  
Reply With Quote #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?
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Reply



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 16:29.


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