Author
|
Message
|
Senior Member
|
11-28-2008
, 16:48
Re: Can't ban anyone..
|
#1
|
Quote:
Originally Posted by .vitor
Go to addons\amxmodx\scripting, open admincmd.sma, search public cmdBan, go down until you find this:
if (reason[0])
server_cmd("kick #%d ^"%s (%s %s)^";wait;banid ^"%s^" ^"%s^";wait;writeid", userid2, reason, banned, temp, minutes, authid2)
else
server_cmd("kick #%d ^"%s %s^";wait;banid ^"%s^" ^"%s^";wait;writeid", userid2, banned, temp, minutes, authid2)
substitute to:
if (reason[0])
server_cmd("banid %s #%d kick;writeid", minutes, userid2)
else
server_cmd("banid %s #%d kick;writeid", minutes, userid2)
compile it, place the admincmd.amxx in plugins folder ( overwriting the existant one ) and restart your server / change the map
|
kk thanks I will try that when I go home..
Quote:
Originally Posted by Exolent[jNr]
If you ban by IP, the player could change IP and then reconnect.
If you ban by SteamID, the player could just have another account to use.
|
I ban steamid it is my friend he didn't change acc or something he reconnect directly..
|
|
|
|