PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Color Selection"
#define VERSION "1.0"
#define AUTHOR "thizk"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say", "cmd_say");
}
public cmd_say(index){
new text[64], type[64], color[64];
read_args(text, 63);
remove_quotes(text);
strtok(text, type, charsmax(type), color, charsmax(color));
if( equali(type, "/shine") ){
if( equali(color, "white")){
client_print(0, print_chat, "YES THE COLOR IS WHITE!")
return PLUGIN_HANDLED;
}
}
return PLUGIN_CONTINUE;
}
__________________