How to unban?
#2

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
Reply


Messages In This Thread
How to unban? - by Vic1990 - 27.11.2011, 07:26
Re: How to unban? - by Joshb93 - 27.11.2011, 07:37
Re: How to unban? - by Lorenc_ - 27.11.2011, 07:43
Re: How to unban? - by Joshb93 - 27.11.2011, 07:46
Re: How to unban? - by .:Kaos:. - 27.11.2011, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)