23.09.2010, 16:07
How do i make func, like RCON (IsPlayerAdmin.. etc):
OnPlayerCommandText:
PlayerInfo[playerid][pAdmin] must be more than 0 level (like 1-3 levels, not 0)
Thanks!
OnPlayerCommandText:
Код:
..
if(IsAdmin(playerid))
{
// if yes
Yes you are admin!
}
else
{
// if no
You are not admin!
}
...
Код:
forward IsAdmin(playerid);
public IsAdmin(playerid)
{
...??
}


