undefined symbol "cmd_setadmin"
#9

@Twisted_Insane, they didn't see it.

@IvancheBG to make a admin not for rcon first create a enum for adminlevel
it will be something like

pawn Код:
enum pInfo
{
     adminlevel,
};
new PlayerInfo[MAX_PLAYERS][pInfo];
then you can now use this

pawn Код:
if(PlayerInfo[playerid][adminlevel] > /* Putthelevelyouwant*/) //checks if you are admin
{
       //codes
}
else return //codes - this will block the player that are not admin
i'm not good at explaining you can find more information about this in a Register/Login tutorial
Reply


Messages In This Thread
undefined symbol "cmd_setadmin" - by IvancheBG - 15.02.2012, 07:11
Re: undefined symbol "cmd_setadmin" - by IvancheBG - 16.02.2012, 06:53
Re: undefined symbol "cmd_setadmin" - by IvancheBG - 16.02.2012, 07:21
Re: undefined symbol "cmd_setadmin" - by Mark™ - 16.02.2012, 07:39
Re: undefined symbol "cmd_setadmin" - by Twisted_Insane - 16.02.2012, 07:50
Re: undefined symbol "cmd_setadmin" - by Konstantinos - 16.02.2012, 09:58
Re: undefined symbol "cmd_setadmin" - by Toreno - 16.02.2012, 10:27
Re: undefined symbol "cmd_setadmin" - by Twisted_Insane - 16.02.2012, 10:53
Re: undefined symbol "cmd_setadmin" - by L0zaix - 16.02.2012, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)