11.02.2013, 19:05
Quote:
pawn Код:
|
PHP код:
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;
}