CSB Admin Announce

v1.0.0 4 indirme Daemon666 Son güncelleme: Jul 15, 2026

amx_csay / amx_hsay / amx_tsay show an admin message as a coloured HUD message, with an optional sound and a blue screen fade.

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_hsay and amx_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_tsay sends a ScreenFade message per client so the fade lands only on real players.
  • Optional sound played to everyone via csb_announce_sound (a spk-compatible path).
  • Every announcement is written to the AMXX log with the admin's name.

Installation

  1. Compile csb_admin_announce.sma and drop it in addons/amxmodx/plugins/.
  2. Add it to addons/amxmodx/configs/plugins.ini and change the map.

All three commands need the ADMIN_CHAT flag (j) by default.

Kurulum

1. Put csb_admin_announce.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map

Cvarlar

CVARDefaultDescription
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).

Komutlar

CommandAccessDescription
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.

Değişiklik günlüğü — v1.0.0

1.0.0 - Initial release.
Sürümler →
Katkıda bulunanlar: Daemon666 ✦
Orijinal yazar: AMX Mod X Development Team (Admin Commands) Lisans: GPL-3.0

Puan

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
.sma indir
Dosyalar:
csb_admin_announce.sma main 4.5 KB

Gereksinimler

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL İsteğe bağlı
ReAPI İsteğe bağlı
Metamod Metamod / Metamod-r
Bilinen çakışmalar Other plugins that spam show_hudmessage on the same channel can overwrite the announcement early.
Eklentilere Dön