When Some one say %s0 , the server crashs ..
i tried this but still not work..
PHP Code:
#include <amxmodx>
public plugin_init() {
register_clcmd("say", "CmdSay");
register_clcmd("say_team", "CmdSay");
}
public CmdSay(id) {
new args[192];
read_args(args, charsmax(args));
remove_quotes(args);
if(containi(args, "%") != -1) {
static szName[32];
get_user_name(id, szName ,33)
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
__________________