PHP Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("SNAP TIME", "1.1", "Relaxing")
register_clcmd("amx_snaptime", "snaptime", ADMIN_LEVEL_A, " - take screenshot to all players")
}
public snaptime (id,level,cid)
{
if(!cmd_access(id,level,cid,3))
{
client_cmd(0, "snapshot");
client_print(0, print_chat, "[AMXX] Screenshot took to all players")
}
return PLUGIN_HANDLED
}
- when I removed "!" from cmd_acces it wont work even if you are admin. With "!" all players can use amx_snap, so need help
__________________