Files
bladwin-RP/lua/bladw_announcement/shared/sh_config.lua
T
nocode 77545fe2cf feat(announcement): add max length and sound configuration options
Add two new configuration options to the announcement system:
- announcement_max_length: limit message length to 80 characters
- announcement_sound: specify a sound file to play when announcement appears

Also improve alignment and clarify comments for existing options.
2026-07-20 13:36:30 +02:00

10 lines
527 B
Lua

BladW = BladW or {}
BladW.Announcement = BladW.Announcement or {}
BladW.Announcement.Conf = BladW.Announcement.Conf or {}
BladW.Announcement.Conf = {
announcement_style = "simple", -- "simple" or "loader"
announcement_duration = 10, -- temps d'affichage de l'annonce en secondes
announcement_max_length = 80, -- nombre max de caractères du message
announcement_sound = "announce.mp3", -- son à l'apparition ("" = aucun) — fichier dans sound/ -- Exyemple : garrysmod/content_downloaded.wav
}