27.04.2012, 12:37
Try this.
pawn Код:
if(GetPlayerScore(killerid) == 5)
{
SetPlayerScore(killerid, GetPlayerScore(killerid)+2);
GivePlayerMoney(killerid, 1000);
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(killerid ,pName, sizeof(pName));
format(string, sizeof(string),"Server News: %s is Now On Killing Spree Of 5 ",pName);
SendClientMessageToAll(0xFF8000FF, string);
SendClientMessage(killerid, COLOR_GREEN,"Congratulations! You got +2 score and 1000$ money for killing 5 in a row!");
return 1;
}

