[quote="nasta"]Just one another thing... When im creating another command to say, is it like this?
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("zomg h4x", "0.1", "teh pwn");
register_clcmd("say /warmup", "cmd_warmup", ADMIN_KICK);
register_clcmd("say /pcw", "cmd_warmup", ADMIN_KICK);
}
public cmd_warmup(id, lvl, cid) { //I just gave it another name to be more clear
if(!cmd_access(id, lvl, cid, 2)) {
return PLUGIN_HANDLED;
set_cvar_num("mp_startmoney", 16000);
set_cvar_num("mp_friendlyfire", 0);
set_cvar_num("mp_gaben", 1);
// etc
client_print(0, print_chat, "[AMXX] Gotjuice? warmup started");
return PLUGIN_HANDLED;
}
__________________