help admin system
#6

Reset the variable PlayerInfo[playerid][pAdmin] on OnPlayerConnect:

Like that:
pawn Код:
//OnPlayerConnect

PlayerInfo[playerid][pAdmin] = 0;

// You may also reset other variables so they do not occur problem in future.
Then their data (or values 0, 1, or any) are loaded using INI_ParseFile(...) and your LoadUser_data forward.
Reply


Messages In This Thread
help admin system - by IronMan006 - 20.04.2014, 09:22
Re: help admin system - by Flake. - 20.04.2014, 09:25
Re : help admin system - by IronMan006 - 20.04.2014, 09:36
Re: help admin system - by ChuckyBabe - 20.04.2014, 10:18
Re : help admin system - by IronMan006 - 20.04.2014, 10:53
Re: help admin system - by SyntaxQ - 20.04.2014, 11:18
Re : help admin system - by IronMan006 - 20.04.2014, 13:15

Forum Jump:


Users browsing this thread: