AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Executing client command on disconnect (https://forums.alliedmods.net/showthread.php?t=41397)

Des12 07-14-2006 12:15

Executing client command on disconnect
 
Whenever I try to send a command to a client when he is disconnecting, it does not work.

Code:
public client_disconnect(id) {     client_cmd(id,"cl_realhud 0");     return PLUGIN_CONTINUE; }

Any way to fix this? Perhaps in a client prethink:
Code:
public client_PreThink(id) {    if(!is_user_connected(id)) client_cmd(id,"cl_realhud 0");    return PLUGIN_CONTINUE; }

Hawk552 07-14-2006 13:16

Re: Executing client command on disconnect
 
no


All times are GMT -4. The time now is 07:58.

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