Thx, but here is the part i didn't understand:
Example 1: here i get warning
Code:
public cmd_warning (id)
{
if(!access(id, ADMIN_CHAT))
{
console_print(id, "[AMXX] You have no access to this command!");
return PLUGIN_HANDLED
}
read_args(argMessage, 255)
set_hudmessage(130, 90, 70, -1.0, 0.45, 0, 1.0, 999991.0, 0.1, 0.2, -1)
show_hudmessage(0, argMessage)
return PLUGIN_HANDLED
}
Example 2: Here i don't get warning (i only moved return PLUGIN_HANDLED a little bit)
[small] public cmd_working (id)
{
if(!access(id, ADMIN_CHAT))
{
console_print(id, "[AMXX] You have no access to this command!");
return PLUGIN_HANDLED
}
read_args(argMessage, 255)
set_hudmessage(130, 90, 70, -1.0, 0.45, 0, 1.0, 999991.0, 0.1, 0.2, -1)
show_hudmessage(0, argMessage)
return PLUGIN_HANDLED
}
__________________