Raised This Month: $ Target: $400
 0% 

How can i make a function...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Zezima14
Member
Join Date: Feb 2010
Old 10-22-2010 , 19:37   Re: How can i make a function...
Reply With Quote #4

i tried with this:


PHP Code:

register_clcmd
"say /hi""CmdPlayers" )

[...]

public 
CmdPlayersid )
{
     static 
szArg32 ];
     
read_argv1szArg31 )

     new 
Target cmd_targetid szArg )

     if( !
Target )
          return 
PLUGIN_HANDLED;

     
client_printTarget print_chat"Hi %s"szArg] )
     return 
PLUGIN_HANDLED;

But doesn't work...

Last edited by Zezima14; 10-22-2010 at 19:40.
Zezima14 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 10:17.


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