y_ini ban/unban
#5

Quote:
Originally Posted by ******
View Post
Oh yeah. But if a player is banned, surely they're not connected to the server, no? In which case they aren't going to be found by "u" and aren't going to have a player ID.
but, if he has pBan = 1, he will get kick if he is banned

pawn Code:
if(PlayerInfo[playerid][pBan] == 1)
                            {
                                SendClientMessage(playerid, -1, "You are banned!");
                                Kick(playerid);
                            }
Reply


Messages In This Thread
y_ini ban/unban - by Speed - 28.08.2011, 20:23
Re: y_ini ban/unban - by IceCube! - 28.08.2011, 20:31
Re: y_ini ban/unban - by Speed - 29.08.2011, 07:50
Re: y_ini ban/unban - by Speed - 29.08.2011, 20:46
Re: y_ini ban/unban - by Speed - 30.08.2011, 14:15
Re: y_ini ban/unban - by Speed - 30.08.2011, 21:28
Re: y_ini ban/unban - by Speed - 02.09.2011, 18:34
Re: y_ini ban/unban - by Dubya - 25.01.2014, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)