/makeadmin
#5

Quote:
Originally Posted by biker122
Посмотреть сообщение
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!
Yes, This same was explained by me in another thread of him, But i dont know how he is reading.


Firstly you need to set yourself as 99999 this can be done through scriptfiles/account whatever your directory is, You cant use if you are 99998 too.

Because in script we defined :-
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 99998)
If player is having greater than 99998 can use this command, Even if you are 99998 you can't use this cmd even though you are logged in as RCON because you need to be greater than 99998 and ie; 99999.

And change > to < and you are 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)