I have done this:
Code:
public plugin_init()
{
register_concmd("amx_orel1", "cmdOrel", ADMIN_KICK, "does nothing");
}
public cmdOrel(id, level, cid)
{
client_print(0, print_chat, "%i", level);
return 1;
}
When I write amx_orel in the console it prints me 4 (ADMIN_KICK).
But if I change the command access, it is stuck at the first access I have done:
Code:
public plugin_init()
{
register_concmd("amx_orel1", "cmdOrel", ADMIN_BAN, "does nothing");
}
public cmdOrel(id, level, cid)
{
client_print(0, print_chat, "%i", level);
return 1;
}
prints 4 also...
It is bug or something, or I don't know how to use this command?