CSB Adverts v1.0.0
CSB Adverts shows rotating server messages read from a plain-text file. Each line carries its own display type (chat, HUD or DHUD) and may contain placeholders that are expanded when shown: {HOSTNAME}, {TIMELEFT}, {NEXTMAP}, {PLAYERS}, {MAXPLAYERS}, {MAP} and {NAME}. A per-map file is loaded automatically when it exists.
Features
- Coloured chat, HUD or DHUD per line
- Live placeholders including the player's own name and the player count
- Per-map advert files (
csb_adverts_<map>.ini) - Every player can mute the adverts with
say /noads - A default config file is written on first run
Installation
- Put
csb_adverts.amxxinaddons/amxmodx/plugins/ - Add it to
plugins.ini - Edit
addons/amxmodx/configs/csb_adverts.ini
Instalação
1. Put csb_adverts.amxx in addons/amxmodx/plugins/ 2. Add it to plugins.ini 3. Edit configs/csb_adverts.ini (a default is written on first run) 4. Uses client_print_color, so AMX Mod X 1.9+ is required
Cvars4
| CVAR | Default | Description |
|---|---|---|
csb_adverts | 1 | Enable the plugin. |
csb_adverts_interval | 45 | Seconds between messages (minimum 5). |
csb_adverts_random | 0 | 1 = pick a random line each time; 0 = go in order. |
csb_adverts_prefix | [Server] | Prefix shown in front of chat adverts. |
Comandos1
| Command | Access | Description |
|---|---|---|
say /noads | | Toggle the adverts on or off for yourself. |
Avaliação
Ainda sem avaliações









