A small help
#6

Its checking whether the player is banned or not, if player is banned then banned= 1
And if not banned=0

for example
pawn Код:
if (dUserINT(PlayerName2(playerid)).("banned") == 1){
        SendClientMessage(playerid, red, "This name is banned from this server!");
        format(string,sizeof(string),"%s ID:%d was auto kicked. Reason: Name banned from server",PlayerName,playerid);
        SendClientMessageToAll(grey, string);  print(string);
        SaveToFile("KickLog",string);  Kick(playerid);}
Reply


Messages In This Thread
A small help - by Crazyboobs - 02.09.2012, 23:56
Re: A small help - by Camacorn - 03.09.2012, 00:00
Re: A small help - by Crazyboobs - 03.09.2012, 00:02
Re: A small help - by Crazyboobs - 03.09.2012, 00:04
Re: A small help - by Camacorn - 03.09.2012, 00:06
Re: A small help - by Crazyboobs - 03.09.2012, 00:11
Re: A small help - by Camacorn - 03.09.2012, 00:16
Re: A small help - by Crazyboobs - 03.09.2012, 00:26

Forum Jump:


Users browsing this thread: 1 Guest(s)