Admin Commands [Adminlevel]
#4

Quote:
Originally Posted by Zmith
Посмотреть сообщение
It doesn't give errors, I actually tried that first before having to open my previous script.
I'm obviously admin-lvl 5 but when typing /ahelp it only gives me trial admin lvl commands.

Try using "==" paramater instead of ">="

Example:
pawn Код:
if(playerinfo[playerid][pAdmin] == 5)
{
    // Do something here
}
edit:
whoops, my mistake , Forget the codes above

Try using ">" parameters only instead of ">="
Example:
pawn Код:
if(playerinfo[playerid][pAdmin] > 5)
{
    // Do something here
}
Reply


Messages In This Thread
Admin Commands [Adminlevel] - by Zmith - 18.05.2015, 04:32
Re: Admin Commands [Adminlevel] - by ranme15 - 18.05.2015, 04:39
Re: Admin Commands [Adminlevel] - by Zmith - 18.05.2015, 04:53
Re: Admin Commands [Adminlevel] - by EBook - 18.05.2015, 05:01
Re: Admin Commands [Adminlevel] - by Threshold - 18.05.2015, 05:18
Re: Admin Commands [Adminlevel] - by Zmith - 18.05.2015, 05:30
Re: Admin Commands [Adminlevel] - by Threshold - 18.05.2015, 05:31
Re: Admin Commands [Adminlevel] - by Zmith - 18.05.2015, 06:21
Re: Admin Commands [Adminlevel] - by Threshold - 18.05.2015, 08:31
Re: Admin Commands [Adminlevel] - by Zmith - 18.05.2015, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)