22.02.2011, 19:05
Hello, here something I don't understand
In my onplayerdeath callback, I got this :
But when the player is killed by a sniper, it show - "Player" Died.
I tryed some other things like "return 1;" and
But still don't work : /
I don't know how to use GetPlayerWeapon -,-
In my onplayerdeath callback, I got this :
Код:
if(GetPlayerWeapon(killerid)==34) return 0; format(string, sizeof(string), ">> "COL_LIGHTBLUE"%s "COL_WHITE"Died", playername); SendClientMessageToAll(COL_WHITE ,string);
I tryed some other things like "return 1;" and
Код:
if(GetPlayerWeapon(killerid)==34) { "Text" } else { "Text" }
I don't know how to use GetPlayerWeapon -,-