SA-MP Forums Archive
BANIP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: BANIP (/showthread.php?tid=558512)



BANIP - kalanerik99 - 17.01.2015

Hello
I was trying to make a ban ip command without (rcon ban ....)
here is my public

Код:
stock BanIp(playerid,ip[])
{
ShowPlayerDialog(playerid,DIALOG_BAN2,DIALOG_STYLE_MSGBOX,""COL_GREEN"UGF",""COL_GREEN"You have been "COL_RED"banned "COL_GREEN"and you can request unban at "COL_WHITE"www.ugfforum.tk"COL_GREEN".\nTake a picture with "COL_WHITE"F8 "COL_GREEN"for proof.","KICK","");
PlayerInfo[playerid][Baned] = 1;
PlayerInfo[playerid][BanedTimes]++;

return 1;
}
How to make that if player join with another name(same ip) it will still say he is banned....


Re: BANIP - nezo2001 - 17.01.2015

The rcon ban make this because it bans the ip not the name


Re: BANIP - kalanerik99 - 17.01.2015

nazo read the whole post !!!!!!!!!!!!!!!!!! ANYWAY FIXED(MAKED)