Raised This Month: $12 Target: $400
 3% 

[ANY] City Bans


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-16-2013 , 11:58   Re: [ANY] City Bans
Reply With Quote #11

Quote:
Originally Posted by KyleS View Post
argc should be < 1 instead of != 1 as people tend to use spaces with targets. You store and set the CmdReplySource, but you never set the value back to what it was after you print your message. You should consider using GetClientSerial instead of GetClientUserID to prevent potential duplicate checks on the same client. You should also consider checking the returns from a few GetClient* Functions (GetClientIP).

None of this seems lethal, though.
Thanks, fixed.
__________________
Dr. McKay is offline
scorpadorp
SourceMod Donor
Join Date: May 2012
Location: NC
Old 07-16-2013 , 23:20   Re: [ANY] City Bans
Reply With Quote #12

So, any way to ban a city without the client present?
scorpadorp is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-16-2013 , 23:56   Re: [ANY] City Bans
Reply With Quote #13

Quote:
Originally Posted by scorpadorp View Post
So, any way to ban a city without the client present?
You'd have to manually edit the database.
__________________
Dr. McKay is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 10-16-2016 , 20:13   Re: [ANY] City Bans
Reply With Quote #14

Is there an alternative for amxmodx? I can't find one
This plugin is really useful. Thanks
sigerman is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-16-2016 , 20:21   Re: [ANY] City Bans
Reply With Quote #15

Quote:
Originally Posted by sigerman View Post
Is there an alternative for amxmodx? I can't find one
This plugin is really useful. Thanks
find me a geoip-city thing for amxx and i'll do it for you
__________________
retired
shavit is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 10-17-2016 , 09:30   Re: [ANY] City Bans
Reply With Quote #16

Quote:
Originally Posted by shavit View Post
find me a geoip-city thing for amxx and i'll do it for you
Like this?
https://forums.alliedmods.net/showthread.php?t=95665
sigerman is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-17-2016 , 13:06   Re: [ANY] City Bans
Reply With Quote #17

Quote:
Originally Posted by sigerman View Post
have fun
https://forums.alliedmods.net/showth...23#post2462923
__________________
retired
shavit is offline
Reply


Thread Tools
Display Modes

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 00:49.


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