22.09.2013, 02:49
Using variables instead of SetPlayerWantedLevel function.
You could easily replace with new GET/SET functions
Now the max level is 2,147,483,647
You could easily replace with new GET/SET functions
pawn Код:
new WantedLevel[MAX_PLAYERS]; // GLOBAL
stock SetPlayerWantedLevelEx(playerid,level)
{
WantedLevel[playerid] = level;
if(WantedLevel[playerid] > 6)
SetPlayerWantedLevel(playerid,6);
else if(WantedLevel[playerid] < 0)
SetPlayerWantedLevel(playerid,0);
SetPlayerWantedLevel(playerid,PI[playerid][procura]);
}
stock GetPlayerWantedLevelEx(playeird)
{
return WantedLevel[playerid];
}