Rotating server messages from a file, shown as coloured chat, HUD or DHUD, with placeholders and a per-player mute.
Daemon666
1.0.0 - Initial release.
| csb_adverts.sma main | bfe1702 | 6.6 KB |
README.md
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
Instalare
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
Cvar-uri
| 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. |
Comenzi
| Command | Access | Description |
|---|---|---|
say /noads |
|
Toggle the adverts on or off for yourself. |
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.Versiuni →
Evaluare
No ratings yet.
Download v1.0.0
Cerințe
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opțional |
| ReAPI | Opțional |
| Metamod | Metamod / Metamod-r |
Contribuitori









