SA-MP Forums Archive
unbannable - 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: unbannable (/showthread.php?tid=344164)



unbannable - TheDiscussionCafe - 20.05.2012

how i can make a specific ip address or username unbannable from server?


Re: unbannable - Flake. - 20.05.2012

https://sampwiki.blast.hk/wiki/Ban just add in the function to ban a player ip and a player /ban ip reason


Re: unbannable - TheDiscussionCafe - 20.05.2012

no i say i want so my admin can not be banned (unbannable)


Re: unbannable - Ballu Miaa - 20.05.2012

You need to add some particular checks in your admin /ban command.


Re: unbannable - ChrisCro - 20.05.2012

Код:
if(PlayerInfo[giveplayerid][pAdmin] > PlayerInfo[playerid][pAdmin])
			{
				Kick(playerid);
				return 1;
			}
Something like this would make it impossible to ban an equal or higher admin.