Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("Advert Message", "0.1", "nobody");
register_concmd("amx_advertclan", "ClCmd_ShowMsg", ADMIN_SLAY, ": Shows clan ad");
}
public ClCmd_ShowMsg( id, lvl, cid )
{
if(!cmd_access(id, lvl, cid, 1))
return PLUGIN_HANDLED;
// add the set/show HUD stuff here
return PLUGIN_HANDLED;
}
__________________