{
"name": "CSB Admin Announce",
"category": "admin",
"tags": "announce, hud, say",
"image": "",
"original_author": "AMX Mod X Development Team (Admin Commands)",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB Admin Announce",
"short_desc": "amx_csay / amx_hsay / amx_tsay show an admin message as a coloured HUD message, with an optional sound and a blue screen fade.",
"version": "1.0.0",
"amxx_min": "1.9",
"amxx_compile_default": "1.9",
"rehlds_ok": true,
"hlds_ok": true,
"regamedll_required": false,
"metamod_flavor": "any",
"reapi_required": false,
"modules": "",
"install_notes": "1. Put csb_admin_announce.amxx in addons/amxmodx/plugins/\n2. Add it to addons/amxmodx/configs/plugins.ini\n3. Change map",
"known_conflicts": "Other plugins that spam show_hudmessage on the same channel can overwrite the announcement early.",
"cvars": [
{
"name": "csb_announce_r",
"default": "0",
"description": "HUD text red component (0-255)."
},
{
"name": "csb_announce_g",
"default": "255",
"description": "HUD text green component (0-255)."
},
{
"name": "csb_announce_b",
"default": "100",
"description": "HUD text blue component (0-255)."
},
{
"name": "csb_announce_x",
"default": "-1.0",
"description": "HUD X position for amx_hsay/amx_tsay (-1 = centre)."
},
{
"name": "csb_announce_y",
"default": "0.20",
"description": "HUD Y position for amx_hsay/amx_tsay."
},
{
"name": "csb_announce_hold",
"default": "6.0",
"description": "How long the HUD message stays on screen (seconds)."
},
{
"name": "csb_announce_sound",
"default": "",
"description": "Optional spk sound path played to all on each announcement (empty = none)."
}
],
"commands": [
{
"name": "amx_csay",
"access": "j (ADMIN_CHAT)",
"description": "amx_csay <message> - centred HUD announcement."
},
{
"name": "amx_hsay",
"access": "j (ADMIN_CHAT)",
"description": "amx_hsay <message> - HUD announcement at the configured position."
},
{
"name": "amx_tsay",
"access": "j (ADMIN_CHAT)",
"description": "amx_tsay <message> - HUD announcement with a blue screen fade."
}
],
"main": "addons/amxmodx/scripting/csb_admin_announce.sma"
}