PDA

View Full Version : register_message Pass more info than just msg_id


CheesyPeteza
04-19-2004, 22:56
Hey this register_message works great. I have one problem though. I don't seem to be able to figure out who the message is being sent to. The only thing that is passed is the message id. Perhaps you could pass:

player_id, msg_id, msg_type, origin[3]

Where msg_type would be if it was MSG_BROADCAST, MSG_ALL etc.

Player ID & Message ID are the only ones I really care about though.

BAILOPAN
04-20-2004, 01:33
sure thing =)