/makeadmin
#4

Simple mistake.
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 99998)
It means if the player level is more than or equal to 99998, you cannot use it.
> - More. < - Less
Just change it to
pawn Код:
if(PlayerInfo[playerid][pAdmin] <= 99998)
and you're done!
and also, if you want a 99998'th level admin to use this command, then use this
pawn Код:
if(PlayerInfo[playerid][pAdmin] < 99998)
JUST CHANGE THAT LINE and you're done!
Reply


Messages In This Thread
/makeadmin - by ChristianIvann09 - 04.04.2014, 10:15
Re: /makeadmin - by Mriss - 04.04.2014, 10:18
Re: /makeadmin - by ChristianIvann09 - 04.04.2014, 10:28
Re: /makeadmin - by biker122 - 04.04.2014, 11:05
Re: /makeadmin - by Bingo - 04.04.2014, 11:14
Re: /makeadmin - by BigBrainAFK - 04.04.2014, 11:16
Re: /makeadmin - by ChandraLouis - 04.04.2014, 11:19
Re: /makeadmin - by biker122 - 04.04.2014, 11:20
Re: /makeadmin - by Bingo - 04.04.2014, 11:21
Re: /makeadmin - by ChuckyBabe - 04.04.2014, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)