[Ban System]Kick vs Ban
#2

If I know right - in samp.ban u can store only IP's, not usernames.
and u can do unban staff from game

Код:
CMD:unbanip(playerid,params[])
{
	if(sscanf(params,"s[32]", params[0])) return SendClientMessage(playerid, 0xFFFFFFFF, "/unbanip [IP]");
	new sstring[40];
        format(sstring,40,"unbanip %s",params[0]);
        SendRconCommand(sstring);
	SendRconCommand("reloadbans");
        return true;
}
but, I think, thats better to kick player. because from 1 ip can play 2 players and if u ban 1, second will be banned too.
--
Sorry for poor english.
Hope u understood me
Reply


Messages In This Thread
[Ban System]Kick vs Ban - by TheSimpleGuy - 21.04.2016, 12:59
Re: [Ban System]Kick vs Ban - by BloodyRP - 21.04.2016, 13:01
Re: [Ban System]Kick vs Ban - by DTV - 22.04.2016, 05:26

Forum Jump:


Users browsing this thread: 1 Guest(s)