Here are the messages i have logged with msglogging-plugin...
Code:
MessageBegin (SendAudio "100") (Destination "Broadcast<0>") (Args "3") (Entity "<NULL>") (Classname "<NULL>") (Netname "<NULL>") (Origin "0.000000 0.000000 0.000000")
Arg 1 (Byte "0")
Arg 2 (String "%!MRAD_terwin")
Arg 3 (Short "100")
MessageEnd (SendAudio "100")
MessageBegin (TextMsg "77") (Destination "All<2>") (Args "2") (Entity "<NULL>") (Classname "<NULL>") (Netname "<NULL>") (Origin "0.000000 0.000000 0.000000")
Arg 1 (Byte "4")
Arg 2 (String "#Terrorists_Win")
MessageEnd (TextMsg "77")
With this you can hook the Audio message:
Code:
register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")
register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")
or for all end round szenarios the same time:
register_event("SendAudio", "end_round", "a", "2=%!MRAD_terwin", "2=%!MRAD_ctwin", "2=%!MRAD_rounddraw")
The Textmessages can also be hooked but i don't want to do all the work
greetz regalis
__________________