amx_csay / amx_hsay / amx_tsay show an admin message as a coloured HUD message, with an optional sound and a blue screen fade.
Daemon666
1.0.0 - Initial release.
| csb_admin_announce.sma main | 8a682ab | 4.5 KB |
README.md
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.
Instalación
1. Put csb_admin_announce.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvars
| 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). |
Comandos
| 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. |
Registro de cambios — v1.0.0
1.0.0 - Initial release.Versiones →
Valoración
No ratings yet.
Acerca de
Download v1.0.0
Requisitos
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opcional |
| ReAPI | Opcional |
| Metamod | Metamod / Metamod-r |
| Conflictos conocidos | Other plugins that spam show_hudmessage on the same channel can overwrite the announcement early. |
Colaboradores









