VCORE Ecosystem StudioFrameworkServerClipr
VCORE Studio›Products›Vcore Framework›Resources
Documentation
Base Resource

Vcore-radio

Vcore-radio is part of Vcore Framework.

Resource folder: radiov1.0.0VCore FrameworkCore systems

Introduction

Vcore-radio is part of Vcore Framework.

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

UI page: web/index.html

Dependencies & References

ResourceTypePackage 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

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure radio

Configuration

Config files

  • config.lua

Top-level config keys

AnimationChannelRulesDefaultVolumeMaxFrequencyMinDecimalFrequencyRadioItemsRadioListRadioTowersSecondaryEnabled

Events, Exports & Callbacks

Exports

Server exports2
  • GetRadioTowers
  • HasRadioTowerCoverage

Callbacks

No Vcore callbacks are documented for this resource.

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

This resource does not include a resource-local SQL file.

This resource does not define its own CREATE TABLE statements.

Vcore also includes the consolidated VCORE_INSTALL.sql.

Source Layout

AreaFiles
Client Lua2
Server Lua2
Other/shared Lua2
JavaScript1
HTML1
CSS1
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before radio.
  • Confirm the resource is enabled in the correct start order.
  • 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.