15.01.2016, 03:46
Quote:
thanks, now it works.
would this work? Код:
else if(GetPlayerWantedLevel(playerid) >= 6 && GetPlayerWantedLevel(playerid) <= 255) { new wantedp, rewardp; wantedp = GetPlayerWantedLevel(playerid); rewardp = GivePlayerMoney(playerid, wantedp *500); SetPlayerScore(killerid, GetPlayerScore(killerid)+5); SendClientMessage(killerid, COLOR_WHITE, "{FF0000}[Server]:{FFFFFF} You have killed a High suspect player, you got 10K and 5 Score."); GivePlayerMoney(killerid, rewardp +1000); } |
PHP код:
else if(GetPlayerWantedLevel(playerid) >= 6 && GetPlayerWantedLevel(playerid) <= 255)
{
new wantedp, rewardp,string;
wantedp = GetPlayerWantedLevel(playerid);
rewardp = GivePlayerMoney(killerid, wantedp *500);
SetPlayerScore(killerid, GetPlayerScore(killerid)+5);
format(string,sizeof(string),"{FF0000}[Server]:{FFFFFF} You have killed a suspect of %i wanted level, you got $%i and 5 Score",wantedp,rewardp);
SendClientMessage(killerid, COLOR_WHITE, string);
}