Raised This Month: $ Target: $400
 0% 

Client_cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 12-25-2009 , 17:25   Client_cmd
Reply With Quote #1

"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.
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 12-25-2009 , 19:40   Re: Client_cmd
Reply With Quote #2

afaik valve blocked it in their last update
u cant client_cmd() quit, disconnect, kill, retry, or reconnect
__________________
minimiller is offline
Send a message via MSN to minimiller
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 12-25-2009 , 20:00   Re: Client_cmd
Reply With Quote #3

and the name is not working:s
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
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 04:10.


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