Problem with Ban Command
#6

Then under the /ban command, add

PInfo[id][Banned] = 1;

That should work, then it will call onplayerdisconnect.

Edit: Also, change

Ban(id);

to

Kick(id);

as it will ban them from the server and just show "You are banned from this server.".

That way, you can add your own custom message under OnPlayerConnect.
Reply


Messages In This Thread
Problem with Ban Command - by Biess - 31.01.2013, 17:00
Re: Problem with Ban Command - by iGetty - 31.01.2013, 17:08
Re: Problem with Ban Command - by Biess - 31.01.2013, 17:12
Re: Problem with Ban Command - by tyler12 - 31.01.2013, 17:13
Re: Problem with Ban Command - by Biess - 31.01.2013, 17:17
Re: Problem with Ban Command - by iGetty - 31.01.2013, 17:19
Re: Problem with Ban Command - by Biess - 31.01.2013, 17:23
Re: Problem with Ban Command - by tyler12 - 31.01.2013, 17:32
Re: Problem with Ban Command - by Biess - 31.01.2013, 17:33
Re: Problem with Ban Command - by tyler12 - 31.01.2013, 17:36

Forum Jump:


Users browsing this thread: 1 Guest(s)