unbannable
#1

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

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

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

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

Код:
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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)