same for me. Opens radio command. Tried pressing all numbers through, tested y x c radio commandsIt opens Radio Command Mennu :(
#include <amxmodx>
#include <reapi_bow>
public plugin_init() {
register_clcmd("radio2", "CmdGive");
}
public CmdGive(const id) {
give_bow(id);
return PLUGIN_HANDLED;
}
#include <amxmodx>
#include <reapi_bow>
public plugin_init() {
register_clcmd("say /bow", "CmdGive");
register_clcmd("say_team /bow", "CmdGive");
}
public CmdGive(const id) {
give_bow(id);
return PLUGIN_HANDLED;
}
Thank you.rian18, there is no option to buy, but you can use test.sma plugin, editing it so it can work to give you weapon when you click on 'C':
Код:#include <amxmodx> #include <reapi_bow> public plugin_init() { register_clcmd("radio2", "CmdGive"); } public CmdGive(const id) { give_bow(id); return PLUGIN_HANDLED; }
Or with command /bow in chat:
Код:#include <amxmodx> #include <reapi_bow> public plugin_init() { register_clcmd("say /bow", "CmdGive"); register_clcmd("say_team /bow", "CmdGive"); } public CmdGive(const id) { give_bow(id); return PLUGIN_HANDLED; }
#include <amxmodx>
#include <reapi_bow>
public plugin_init() {
register_clcmd("say /bow", "CmdGive");
register_clcmd("say_team /bow", "CmdGive");
}
public CmdRadio2(const id) {
give_bow(id);
return PLUGIN_HANDLED;
}