CSB Admin Announce v1.0.0
CSB Admin Announce gives admins three ways to put a message on everyone's screen. amx_csay <message> shows a centred HUD line, amx_hsay <message> uses the position set by csb_announce_x / csb_announce_y, and amx_tsay <message> adds a short blue screen fade behind the same text. Colour, position, hold time and an optional sound are all cvars.
Inspired by the csay / hsay / tsay commands from the classic AMX Mod X Admin Commands plugin. Independent GPL re-implementation; no original code is reused.
Features
amx_csay,amx_hsayandamx_tsay, all reading the full message after the command.- RGB colour, X/Y position and hold time set through cvars, applied on every call.
amx_tsaysends aScreenFademessage per client so the fade lands only on real players.- Optional sound played to everyone via
csb_announce_sound(aspk-compatible path). - Every announcement is written to the AMXX log with the admin's name.
Installation
- Compile
csb_admin_announce.smaand drop it inaddons/amxmodx/plugins/. - Add it to
addons/amxmodx/configs/plugins.iniand change the map.
All three commands need the ADMIN_CHAT flag (j) by default.
Instalare
1. Put csb_admin_announce.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvar-uri7
| CVAR | Default | Description |
|---|---|---|
csb_announce_r | 0 | HUD text red component (0-255). |
csb_announce_g | 255 | HUD text green component (0-255). |
csb_announce_b | 100 | HUD text blue component (0-255). |
csb_announce_x | -1.0 | HUD X position for amx_hsay/amx_tsay (-1 = centre). |
csb_announce_y | 0.20 | HUD Y position for amx_hsay/amx_tsay. |
csb_announce_hold | 6.0 | How long the HUD message stays on screen (seconds). |
csb_announce_sound | | Optional spk sound path played to all on each announcement (empty = none). |
Comenzi3
| Command | Access | Description |
|---|---|---|
amx_csay | j (ADMIN_CHAT) | amx_csay <message> - centred HUD announcement. |
amx_hsay | j (ADMIN_CHAT) | amx_hsay <message> - HUD announcement at the configured position. |
amx_tsay | j (ADMIN_CHAT) | amx_tsay <message> - HUD announcement with a blue screen fade. |
Evaluare
Încă nu are evaluări









