Raised This Month: $ Target: $400
 0% 

client_command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pike
Junior Member
Join Date: Jun 2009
Old 09-10-2010 , 01:45   Re: client_command
Reply With Quote #8

help to catch an event a client did not send a command
Code:
cmd[i]
PHP Code:
public client_command(id
{
        new 
argv[32]
        
read_argv(0,argvsizeof(argv)-1)
        for (new 
0MAX_CMDi++)
        if (
equal(argv,cmd[i]))
    {
        
client_print(0print_chat,"Client sent a command %s"cmd[i])
        return 
PLUGIN_HANDLED
}
//  help
    
if  client did not send a command cmd[i] ...
// 

Last edited by pike; 09-10-2010 at 01:48.
pike is offline
 



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 00:11.


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