[Tutorial] /setwanted command.
#4

pawn Code:
if(sscanf(params, "ui", id, wantedlevel)) return SendClientMessage(playerid, COLOR_ORANGE, "USAGE: /setwanted [ID] [WantedLevel]");
Add this under that line:

pawn Code:
if(wantedlevel < 0 || wantedlevel > 6) return SendClientMessage(playerid, COLOR_RED, "Error: Max wanted is 6 and the minimum is 0.");
Reply


Messages In This Thread
/setwanted command. - by Kyance - 01.10.2013, 16:23
Re: /setwanted command. - by JimmyCh - 01.10.2013, 17:16
Re: /setwanted command. - by Kyance - 01.10.2013, 17:18
Re: /setwanted command. - by DanishHaq - 01.10.2013, 17:22
Re: /setwanted command. - by Kyance - 01.10.2013, 17:37
Re: /setwanted command. - by DanishHaq - 01.10.2013, 17:51

Forum Jump:


Users browsing this thread: 2 Guest(s)