Max Wanted Level
#2

Using variables instead of SetPlayerWantedLevel function.

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];
}
Now the max level is 2,147,483,647
Reply


Messages In This Thread
Max Wanted Level - by Cerealguy - 22.09.2013, 01:24
Re: Max Wanted Level - by arakuta - 22.09.2013, 02:49
Respuesta: Max Wanted Level - by Cerealguy - 22.09.2013, 03:04

Forum Jump:


Users browsing this thread: 1 Guest(s)