AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Client_cmd (https://forums.alliedmods.net/showthread.php?t=113347)

ProIcons 12-25-2009 17:25

Client_cmd
 
"public client_putinserver(id)"

get_pcvar_string(pcvar_names[i], buffer, charsmax(buffer));
if ( equali(user_name, buffer) )
{
server_print("ASD");
client_cmd(id, "disconnect");
return PLUGIN_HANDLED;
}

it prints "asd" but it doesn't disconnect the user.

minimiller 12-25-2009 19:40

Re: Client_cmd
 
afaik valve blocked it in their last update
u cant client_cmd() quit, disconnect, kill, retry, or reconnect

ProIcons 12-25-2009 20:00

Re: Client_cmd
 
and the name is not working:s


All times are GMT -4. The time now is 04:10.

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