06.07.2016, 07:46
Код:
public OnPlayerDeath(playerid, killerid, reason) { ApplyAnimation(playerid, "PED", "KO_shot_front",4.1,1,1,1,1,1); SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); SendClientMessage(killerid,COLOR_LIGHTBLUE,"Good Job +1 For killing that enemy"); PlayerInfo[killerid][pKills]++; PlayerInfo[playerid][pDeaths]++; PlayerPlaySound(playerid,4804,0.0, 0.0, 10.0); return 1; }