23.03.2014, 21:06
Hey, how can I open a user file and check if the player is admin or not. I want a command that could show us all of the offline admins. I use YINI and this is how I save the user data.
pawn Код:
//OnPlayerDisconnect
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
INI_Close(File);