Today I was coding something for The Specialists, and I tried this:
Code:
register_event("DeathMsg","client_death","a")
public client_death()
{
new id = read_data(2)
new weapon = read_data(4)
client_print(id,print_chat,"Weapon: %d",weapon)
}
It doesn't return anything but 0. :-\.
I'm wondering if this is a bug or...maybe I'm doing something wrong.
In any case I was hoping someone could verify this with me or help me find a way to get the same results.
This is the link to the DeathMSG event properties:
http://wiki.amxmodx.org/Half-Life_1_...vents#DeathMsg
Thanks again, appreciate the help.
__________________