Hey does anyone know how to add flags for a plugin ,Basically someone needs a certin flag to use this command.
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
new const PLUGIN[] = "Reset Death"
new const VERSION[] = "0.1"
new const AUTHOR[] = "Mr Miss"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /rs","cmd_rs");
}
public cmd_rs(id)
{
cs_set_user_deaths(id,0);
client_print_color(id,id,"^4|^3| ^4Reset Score ^3|^4| ^4YOUR DEATHS ^1HAVE BEEN SET TO ^4[0]");
return PLUGIN_HANDLED;
}