27.11.2011, 07:37
You shoudl make a player variable for being banned, rather than using the pawno defined variable.
Ex: PlayerInfo[playerid][pBanned] = 1;
Then, under OnPlayerConnect, check to make sure that variable isnt "1", otherwise, they get kicked.
Then for the unban command, just make it open their file, and set the variable to 0.
Hope this helps, and if you want me to script it for you, PM me
Ex: PlayerInfo[playerid][pBanned] = 1;
Then, under OnPlayerConnect, check to make sure that variable isnt "1", otherwise, they get kicked.
Then for the unban command, just make it open their file, and set the variable to 0.
Hope this helps, and if you want me to script it for you, PM me