[HELP] Creating Varibles For Admins [Rep+]
#3

Well it's very simple, I need to find a way of detecting if the player is an administrator or not, this would be using mysql_query i would imagine, however i need to find a way of turning this into a variable or an enum, like i said any help would be most appreciated.

I hope this is enough information, if not let me know.

Thanks

-Michael

pawn Код:
format(query2,sizeof(query2),"SELECT `Admininistrator` FROM PlayerInfo WHERE `Administrator` = '%d'",level);
            if(mysql_query(query2))
            {
                gPlayerInfo[playerid][pAdmin] = level;
            }
Tryed that but still didn't work
Reply


Messages In This Thread
[HELP] Creating Varibles For Admins [Rep+] - by xMichaelx - 06.12.2011, 09:41
Re: [HELP] Creating Varibles For Admins [Rep+] - by T0pAz - 06.12.2011, 10:50
Re: [HELP] Creating Varibles For Admins [Rep+] - by xMichaelx - 06.12.2011, 10:59
Re: [HELP] Creating Varibles For Admins [Rep+] - by T0pAz - 06.12.2011, 11:19
Re: [HELP] Creating Varibles For Admins [Rep+] - by xMichaelx - 06.12.2011, 11:35
Re: [HELP] Creating Varibles For Admins [Rep+] - by xMichaelx - 06.12.2011, 12:01
Re: [HELP] Creating Varibles For Admins [Rep+] - by T0pAz - 06.12.2011, 12:08
Re: [HELP] Creating Varibles For Admins [Rep+] - by THE_KNOWN - 06.12.2011, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)