AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Command if server is full [Help] (https://forums.alliedmods.net/showthread.php?t=94424)

exec0d3 06-11-2009 04:36

Command if server is full [Help]
 
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 06-11-2009 06:38

Re: Command if server is full [Help]
 
Nobody can help me?

ConnorMcLeod 06-11-2009 07:21

Re: Command if server is full [Help]
 
When client_disconnect is fired, the player is already in his bed.

ehha 06-11-2009 11:32

Re: Command if server is full [Help]
 
Will client_disconnect see the day light if the server is full with no open but reserved slots for admins?

exec0d3 06-11-2009 12:27

Re: Command if server is full [Help]
 
Can someone write example plugin for me?

Bugsy 06-11-2009 12:40

Re: Command if server is full [Help]
 
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.

exec0d3 06-12-2009 06:12

Re: Command if server is full [Help]
 
So, delete topic ...


All times are GMT -4. The time now is 13:59.

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