15.01.2016, 00:10
thanks, now it works.
would this work?
Trying to get the players wantedlevel, wantedlevel X 500 = payment you receive for killing the criminal.
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); }