02.08.2011, 03:07
something like this
pawn Код:
stock SetPlayerWanted(playerid,level) {
if!IsPlayerConnected(playerid)) return;
new stars = GetPlayerWantedLevel(playerid);
if(stars >= level) return;
if(level >= 6) level = 6;
if(level <= 0) level = 0;
SetPlayerWantedLevel(playerid,level);
PlayerInfo[playerid][Wanted] = level;
}