Quote:
Originally Posted by BOYSplayCS
I'm getting better at this ;)
Also,
PHP Code:
new Target = cmd_target(id , Arg , 10)
if(!is_user_connected(Target))
return PLUGIN_HANDLED
You shouldn't return PLUGIN_HANDLED. It would be best to return PLUGIN_CONTINUE.
|
Returning PLUGIN_CONTINUE will show the "Unknown Command" message. HANDLED is for if you are finished with the command and don't want any other plugin or the engine to do anything with it, which you want on a command you create in a plugin
__________________