Admin status check
#1

How do i make func, like RCON (IsPlayerAdmin.. etc):

OnPlayerCommandText:

Код:
..
if(IsAdmin(playerid))
{
 // if yes
 Yes you are admin!
}
else
{
 // if no
 You are not admin!
}
...
PlayerInfo[playerid][pAdmin] must be more than 0 level (like 1-3 levels, not 0)

Код:
forward IsAdmin(playerid);

public IsAdmin(playerid)
{
...??
}
Thanks!
Reply


Messages In This Thread
Admin status check - by Typhome - 23.09.2010, 16:07
Re: Admin status check - by DeathOnaStick - 23.09.2010, 16:10
Re: Admin status check - by DarkPower - 23.09.2010, 16:21
Re: Admin status check - by Typhome - 23.09.2010, 16:27
Re: Admin status check - by DeathOnaStick - 23.09.2010, 16:31
AW: Re: Admin status check - by Nero_3D - 23.09.2010, 16:32
Re: Admin status check - by Typhome - 23.09.2010, 16:33
Re: Admin status check - by DeathOnaStick - 23.09.2010, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)