i tried with this:
PHP Code:
register_clcmd( "say /hi", "CmdPlayers" )
[...]
public CmdPlayers( id )
{
static szArg[ 32 ];
read_argv( 1, szArg, 31 )
new Target = cmd_target( id , szArg , 0 )
if( !Target )
return PLUGIN_HANDLED;
client_print( Target , print_chat, "Hi %s", szArg[ 0 ] )
return PLUGIN_HANDLED;
}
But doesn't work...