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

solved


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.ThePro
Member
Join Date: Aug 2011
Location: Brazil
Old 01-31-2014 , 13:07   solved
Reply With Quote #1

I want to ban any disconnect from the server while bool: x = true
I do not know how to do, since amx_ban, amx_addban
I wonder just that, if they have any idea how this could be done either?
__________________
Of Developer to apprentice.


Last edited by .ThePro; 02-07-2014 at 15:43.
.ThePro is offline
Send a message via MSN to .ThePro
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-31-2014 , 13:13   Re: ban after disconnect
Reply With Quote #2

amx_addban and banid work just fine if the SteamID is not in the server. Depending on the plugin you are using to manage your bans, amx_ban might work fine as well
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-31-2014 , 13:40   Re: ban after disconnect
Reply With Quote #3

amx_addban is specifically made to ban people that have recently left the server (this limitation is removed for those with rcon access), amx_ban is not, the player must be in the server. banid is not an AMX Mod X command, it is a HLDS command and also has nothing to do with the player being in the server.
__________________
fysiks is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 02-01-2014 , 10:10   Re: ban after disconnect
Reply With Quote #4

You do not kick an disconnected player.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
.ThePro
Member
Join Date: Aug 2011
Location: Brazil
Old 02-01-2014 , 18:55   Re: ban after disconnect
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
amx_addban and banid work just fine if the SteamID is not in the server. Depending on the plugin you are using to manage your bans, amx_ban might work fine as well
I'm using Advanced Bans by Exolent

Quote:
Originally Posted by fysiks View Post
amx_addban is specifically made to ban people that have recently left the server (this limitation is removed for those with rcon access), amx_ban is not, the player must be in the server. banid is not an AMX Mod X command, it is a HLDS command and also has nothing to do with the player being in the server.

Quote:
Originally Posted by ^SmileY View Post
You do not kick an disconnected player.
The 'banid' I used to test with players who were on the server, a command that was executed. Just forgot to remove. I know it is a hlds command.
__________________
Of Developer to apprentice.


Last edited by .ThePro; 02-01-2014 at 18:56.
.ThePro is offline
Send a message via MSN to .ThePro
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 17:32.


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