Well, I meant something like:
Code:
#include <amxmodx>
public plugin_init() {
register_event("TextMsg", "catch_radio", "be", "2&#Game_radio", "4&#Fire_in_the_hole")
register_event("TextMsg", "catch_radio", "be", "2&#Game_radio", "4&#Cover_me")
}
public catch_radio(id) {
new iByte
iByte = read_data( 1 )
new szMessage[64]
read_data( 2, szMessage, 63 )
new szParam1[32]
read_data( 3, szParam1, 31 )
// etc...
console_print( 0, "TextMsg Event Data: Byte=%d, Msg=%s, P1=%s", iByte, szMessage, szParam1 )
return PLUGIN_HANDLED
}
So that you can see what the values are, and then decide if you can use them to differentiate between the event..