Raised This Month: $ Target: $400
 0% 

Command if server is full [Help]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
exec0d3
Member
Join Date: Apr 2009
Location: Georgia
Old 06-11-2009 , 04:36   Command if server is full [Help]
Reply With Quote #1

I whant to execute command in clients console when he attemps to connect to server wich if full.

I tried to do that like this:
PHP Code:
public client_disconnect(id){
 
 
client_cmd(id,"echo FFFFF");
 

but it didn't work

Thanks for attention.
exec0d3 is offline
Send a message via Skype™ to exec0d3
exec0d3
Member
Join Date: Apr 2009
Location: Georgia
Old 06-11-2009 , 06:38   Re: Command if server is full [Help]
Reply With Quote #2

Nobody can help me?
exec0d3 is offline
Send a message via Skype™ to exec0d3
Old 06-11-2009, 07:16
Emilioneri
This message has been deleted by Emilioneri. Reason: ar gaamartla -.-
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-11-2009 , 07:21   Re: Command if server is full [Help]
Reply With Quote #3

When client_disconnect is fired, the player is already in his bed.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 06-11-2009 , 11:32   Re: Command if server is full [Help]
Reply With Quote #4

Will client_disconnect see the day light if the server is full with no open but reserved slots for admins?
ehha is offline
exec0d3
Member
Join Date: Apr 2009
Location: Georgia
Old 06-11-2009 , 12:27   Re: Command if server is full [Help]
Reply With Quote #5

Can someone write example plugin for me?
exec0d3 is offline
Send a message via Skype™ to exec0d3
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-11-2009 , 12:40   Re: Command if server is full [Help]
Reply With Quote #6

You cannot call any actions on a player at client_disconnect since they have already disconnected. There is no way to send any commands between the time they click disconnect and the actual disconnect.
__________________
Bugsy is offline
exec0d3
Member
Join Date: Apr 2009
Location: Georgia
Old 06-12-2009 , 06:12   Re: Command if server is full [Help]
Reply With Quote #7

So, delete topic ...
exec0d3 is offline
Send a message via Skype™ to exec0d3
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 13:59.


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