11.02.2013, 18:52
i want stop the wanted lvl on 6. they are going to 10 , 12 and alot. but i want stop it on 6 after if some one crime so they show to him 6.
if(GetPlayerWantedLevel(playerid) >6){SetPlayerWantedLevel(playerid,6);}
pawn Код:
|
stock SetPlayerWanted(playerid, level) {
if (level > sizeof(WantedLevelStars)) level = sizeof(WantedLevelStars);
if (level < 0) level = 0;
if(GetPlayerWantedLevel(playerid) >6){SetPlayerWantedLevel(playerid,6);
PlayerInfo[playerid][pWanted] = level;
SetPlayerWantedLevel(playerid, WantedLevelStars[level]);
return level;
}