RM Radio Voice
Configuration
Channels, jobs, shadow module, and voice defaults for rm-radio-voice.
Configuration
config/shared.lua
| Option | Description |
|---|---|
earpieceItem | Inventory item that makes radio private (no speaker leak to nearby players) |
shadowItem | Item placed inside a radio's storage that hides that radio's holder from channel member lists |
shadowAutoJobs | Jobs that are radio-invisible by default without needing shadowItem (e.g. police, ambulance). Set to false so everyone, including these jobs, must carry the item |
radioStash | Per-radio storage stash: slots, weight |
whitelistSubChannels | false restricts all decimals of a restricted channel; true requires listing each subchannel individually |
restrictedChannels | table<channel, table<jobName, true>> — channels only the listed jobs may join |
config/client.lua
| Option | Description |
|---|---|
maxFrequency | Highest selectable channel frequency |
leaveOnDeath | Turn the radio off when the player dies |
decimalPlaces | Subchannel decimal precision |
defaultMicClicks | Mic click sound on by default |
overhearRange | Distance nearby players can overhear radio traffic leaking from a speaker (no earpiece) |
overhearVolume | Volume (0.0–1.0) of overheard radio, lower than normal so it reads as a speaker |
Shadow / Anonymous mode
Players eligible for shadow mode (a shadowAutoJobs job, or shadowItem in their radio's storage) get an Anonymous toggle in the radio Settings tab, letting them opt in or out of being hidden from other members' channel lists. Ineligible players see the toggle disabled with a hint pointing at the required item.
ox_lib usage
lib.callback— joining/leaving channels, favorites, and shadow-eligibility sync between client and servercache— player job/ped/vehicle lookups gating radio use and overhear range checks
