Quote:
Originally Posted by (*|Flake|*)
You've never defined a variable for level therefor you've never given the player a wanted "level" If you want to give them a wanted level just use
pawn Код:
SetPlayerWantedLevel(playerid, 1); //This will give them 1 star
If you want to set their level via a variable just make something like
pawn Код:
new level[MAX_PLAYERS];
//Inside your command level[playerid] = 1; //Setting that specific players level to 1 SetPlayerWantedLevel(playerid, level[playerid]); //This will add the star
|
He can just use this function to get their wanted level if he needs that, unless he wants to have a server-based wanted level as well that is.
pawn Код:
native GetPlayerWantedLevel(playerid);