Raised This Month: $ Target: $400
 0% 

dynamic ban


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-11-2009 , 17:49   Re: dynamic ban
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
What does "ban they config" mean?
He will be setting a custom info keyvalue by "setinfo" clcmd which he then retrieves on reconnect. Not a good solution but it should work as long as the client does not restart his game.

Quote:
Originally Posted by Nyuszy View Post
ok, but the baned dont disconnect...
PHP Code:
if(strlen(bankey) > 0){
    
server_cmd("amx_kick #%d ^"Banned!^""get_user_userid(id))
    
server_exec()
    return  
PLUGIN_HANDLED

Think that should fix it.
__________________
In Flames we trust!
Nextra 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 02:14.


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