Quote:
Originally Posted by nilanjay
pawn Код:
if(killerid != INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "You committed sucide"); else { SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); } SetPVarInt(playerid, "Dead", 1); SendDeathMessage(killerid, playerid, reason); // Shows the kill in the killfeed
I am sorry, I forgot to add return after checking the InvalidPlayerID
|
Nice. Compiled with no warn/errors. Thank you.
Let's hope it works. Which I'm sure it will.