23.01.2014, 08:29
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[playerid][pDeaths]++; // Replace with your variables
PlayerInfo[killerid][pKills]++; //Also Replace with your variables
SendDeathMessage(killerid, playerid, reason); //Sending the deaTH message to all
SetPlayerScore(killerid, GetPlayerScore(killerid, +1); //Setting the killers score
return 1;
}