Raised This Month: $ Target: $400
 0% 

Can't ban anyone..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamoOodi
Senior Member
Join Date: Dec 2005
Old 11-28-2008 , 16:48   Re: Can't ban anyone..
Reply With Quote #1

Quote:
Originally Posted by .vitor View Post
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] View Post
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..
HamoOodi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode