I searched around and was looking how you would block commands...I don't know exactly how to go about it now.
They were blocking Fullupdate with
Code:
client_command("fullupdate", "blockCommand");
I tryed to extend it with
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Command Restrictor"
#define VERSION "1.0"
#define AUTHOR "[email protected]"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
register_concmd("model", "blockCommand");
register_concmd("retry", "blockCommand");
register_concmd("reconnect", "blockCommand");
register_concmd("cl_backspeed", "blockCommand");
register_concmd("cl_sidespeed", "blockCommand");
register_concmd("cl_forwardspeed", "blockCommand");
}
public blockCommand(id) {
client_print(id, print_chat, "You can't use that command");
return PLUGIN_CONTINUE;
}
This doesn't even load right, it doesn't work.. so How do you go about doing this?