14.05.2014, 04:38
pawn Код:
if(killerid != INVALID_PLAYER_ID)
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
}
Try this
pawn Код:
if(killerid != INVALID_PLAYER_ID)
else
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
}
SetPVarInt(playerid, "Dead", 1);
SendDeathMessage(killerid, playerid, reason); // Shows the kill in the killfeed
return 1;
}