Quote:
MessageBegin (Concuss "78") (Destination "One<1>") (Args "1") (Entity "1") (Classname "player") (Netname "hlstriker") (Origin "0.000000 0.000000 0.000000")
L 06/08/2007 - 15:05 3: Arg 1 (Byte "99")
L 06/08/2007 - 15:05 3: MessageEnd (Concuss "78")
|
This message will keep displaying until Arg 1s Byte is 0. The byte is the amount of "Dizziness" you have when you get conced on TFC.
This works to get the players id with register_event. Would I be able to do something like that with register_message?
Code:
public plugin_init()
{
register_event("Concuss", "function", "b");
}
public function(id)
{
// id is the player with the message
}
Edit: Are there tags for amxx code besides the [ small][ /small]?