Documentation
Base Resource

radio

The supplied manifest describes this resource as “VCore - Radio”.

v1.0.0VCore FrameworkCore systems

Introduction

The supplied manifest describes this resource as “VCore - Radio”.

2Client Lua
2Server Lua
2Exports
22Events
0SQL tables

UI page: web/index.html

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
pma-voiceManifest dependencyIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
inventoryGetItemAmount
pma-voiceaddChannelCheck, getPlayersInRadioChannel, getPlayersInSecondaryRadioChannel, getRadioVolume, setPlayerRadio, setPlayerSecondaryRadio, setRadioChannel, setRadioVolume, setSecondaryRadioChannel

Installation / Start Order

The supplied server.cfg enables this resource in the Core systems stage at enabled-resource position 36. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure radio

Configuration

Config files

  • config.lua

Top-level config keys detected

AnimationChannelRulesDefaultVolumeMaxFrequencyMinDecimalFrequencyRadioItemsRadioListRadioTowersSecondaryEnabled

Events, Exports & Callbacks

Exports

Server exports2
  • GetRadioTowers
  • HasRadioTowerCoverage

Callbacks

No Vcore callback registrations were detected.

Registered network events

Client registered events19
  • pma-voice:addPlayerToRadio
  • pma-voice:addPlayerToSecondaryRadio
  • pma-voice:radioActive
  • pma-voice:radioChangeRejected
  • pma-voice:removePlayerFromRadio
  • pma-voice:removePlayerFromSecondaryRadio
  • pma-voice:secondaryRadioActive
  • pma-voice:secondaryRadioChangeRejected
  • pma-voice:setTalkingOnRadio
  • pma-voice:setTalkingOnSecondaryRadio
  • pma-voice:syncRadioData
  • pma-voice:syncSecondaryRadioData
  • radio:client:applyChannel
  • radio:client:channelResult
  • radio:client:forceClose
  • radio:client:listSnapshot
  • radio:client:nameChanged
  • radio:client:open
  • radio:client:refreshList
Server registered events3
  • radio:server:getRadioTowers
  • radio:server:requestList
  • radio:server:setChannel

Commands

Server commands2
  • rn1
  • rn2

Database / SQL

No resource-local SQL file was detected.

No CREATE TABLE statements detected inside this resource.

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua2
Server Lua2
Other/shared Lua2
JavaScript1
HTML1
CSS1
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before radio.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.