Quote:
Originally Posted by CookieCrumbler
Hardcode return PLUGIN_HANDLED into your plugin
eg:
PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /saysomething", "some_command", ADMIN_BAN);
}
public some_command()
{
if ( whatever == something )
{
server_cmd("say Printing some message from using /saysomething say command")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE;
}
|
Please explaine to me why you used this code and by what we should name it?
PHP Code:
if ( whatever == something )
{