return 1;
In amxconst
PHP Code:
#define PLUGIN_CONTINUE 0 /* Results returned by public functions */
#define PLUGIN_HANDLED 1 /* stop other plugins */
#define PLUGIN_HANDLED_MAIN 2 /* to use in client_command(), continue all plugins but stop the command */
So >
return 1 >> return PLUGIN_HANDLED;
PHP Code:
if(!is_user_admin(id))
return 1;
TO
PHP Code:
if(!is_user_admin(id))
return PLUGIN_HANDLED;
Its is delete the chat from all persos, including for Admins..
You want to clear chat for all players except for Admins?
__________________