Romania XPlayZM.CSBlackDevil.COM # Zombie Plague UltimateX [ Respawn + FDL + VIP 22-12PM + POINTS] ® 30/32
Unknown ❤ RESPAWN.ZAFEST.RO | VIP FREE | FREE FOR ALL ❤ 0/32
France EMIRATES.KiNGS 亗 GAMEAREA ||͇̿P͇̿U͇̿B͇̿L͇̿I͇̿C͇̿| ✪ 32/32
Sunucu tanitimi

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_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
Cvarlar7
CVARDefaultDescription
csb_announce_r0HUD text red component (0-255).
csb_announce_g255HUD text green component (0-255).
csb_announce_b100HUD text blue component (0-255).
csb_announce_x-1.0HUD X position for amx_hsay/amx_tsay (-1 = centre).
csb_announce_y0.20HUD Y position for amx_hsay/amx_tsay.
csb_announce_hold6.0How long the HUD message stays on screen (seconds).
csb_announce_soundOptional spk sound path played to all on each announcement (empty = none).
Komutlar3
CommandAccessDescription
amx_csayj (ADMIN_CHAT)amx_csay <message> - centred HUD announcement.
amx_hsayj (ADMIN_CHAT)amx_hsay <message> - HUD announcement at the configured position.
amx_tsayj (ADMIN_CHAT)amx_tsay <message> - HUD announcement with a blue screen fade.
Puan
Henüz puan yok