06.12.2011, 10:59
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
Tryed that but still didn't work
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;
}