Documentation
Docs/Resources/Base/pma-voice
Base Resource

pma-voice

VCore’s OneSync voice, proximity, radio and phone-call layer. Do not run another voice resource alongside it. - OneSync enabled. - core started first. - Disable vMenu voice if vMenu is installed. Voice settings are server convars. They can be changed in server.cfg with setr or through the FXServer convar category. Common options: Use only one audio mode. Native audio is required for submix effects. Key changes only affect players who have not already saved a FiveM key binding. /muteply [server id] [duration] requires ACE permission: Client/server exports and state bags remain available to framework resources, including radio channel, call channel, proximity and radio-disable state. Restart pma-voice after convar changes.

v1.0.0VCore FrameworkVCORE foundation

Introduction

VCore’s OneSync voice, proximity, radio and phone-call layer. Do not run another voice resource alongside it. - OneSync enabled. - core started first. - Disable vMenu voice if vMenu is installed. Voice settings are server convars. They can be changed in server.cfg with setr or through the FXServer convar category. Common options: Use only one audio mode. Native audio is required for submix effects. Key changes only affect players who have not already saved a FiveM key binding. /muteply [server id] [duration] requires ACE permission: Client/server exports and state bags remain available to framework resources, including radio channel, call channel, proximity and radio-disable state. Restart pma-voice after convar changes.

11Client Lua
5Server Lua
56Exports
27Events
0SQL tables

UI page: ui/index.html

Dependencies & References

ResourceDetected asPackage status
/onesyncManifest dependencyExternal / prerequisite
coreManifest dependencyIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject

Installation / Start Order

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

server.cfg
ensure pma-voice

Configuration

Config files

  • No dedicated config file detected.

Top-level config keys detected

No Config/VCOREConfig keys detected by the audit.

Events, Exports & Callbacks

Exports

Client exports44
  • SetCallChannel
  • SetMumbleProperty
  • SetRadioChannel
  • SetSecondaryRadioChannel
  • SetTokoProperty
  • addPlayerToCall
  • addPlayerToRadio
  • addPlayerToSecondaryRadio
  • addRadioDisableBit
  • addVoiceMode
  • clearProximityOverride
  • getCallVolume
  • getMicClickOffVolume
  • getMicClickOnVolume
  • getMutedPlayers
  • getRadioAnimState
  • getRadioVolume
  • getVoiceModes
  • isPlayerMuted
  • overrideProximityCheck
  • overrideProximityRange
  • registerCustomSubmix
  • removePlayerFromCall
  • removePlayerFromRadio
  • removePlayerFromSecondaryRadio
  • removeRadioDisableBit
  • removeVoiceMode
  • resetProximityCheck
  • setAllowProximityCycleState
  • setCallChannel
  • setCallVolume
  • setDisableRadioAnim
  • setEffectSubmix
  • setListenerOverride
  • setMicClickOffVolume
  • setMicClickOnVolume
  • setRadioChannel
  • setRadioTalkAnim
  • setRadioVolume
  • setSecondaryRadioChannel
  • setVoiceProperty
  • setVoiceState
  • toggleMutePlayer
  • toggleRadioAnim
Server exports12
  • GetPlayersInRadioChannel
  • GetPlayersInSecondaryRadioChannel
  • SetPlayerSecondaryRadio
  • addChannelCheck
  • getPlayersInRadioChannel
  • getPlayersInSecondaryRadioChannel
  • isValidPlayer
  • overrideRadioNameGetter
  • removeChannelCheck
  • setPlayerCall
  • setPlayerRadio
  • setPlayerSecondaryRadio

Callbacks

No Vcore callback registrations were detected.

Registered network events

Client registered events21
  • VCORE:Client:OnPlayerLoaded
  • mumbleReset
  • onPlayerDropped
  • onPlayerJoining
  • pma-voice:addPlayerToCall
  • pma-voice:addPlayerToRadio
  • pma-voice:addPlayerToSecondaryRadio
  • pma-voice:clSetPlayerCall
  • pma-voice:clSetPlayerRadio
  • pma-voice:clSetPlayerSecondaryRadio
  • pma-voice:radioChangeRejected
  • pma-voice:removePlayerFromCall
  • pma-voice:removePlayerFromRadio
  • pma-voice:removePlayerFromSecondaryRadio
  • pma-voice:secondaryRadioChangeRejected
  • pma-voice:setAssignedChannel
  • pma-voice:setTalkingOnRadio
  • pma-voice:setTalkingOnSecondaryRadio
  • pma-voice:syncCallData
  • pma-voice:syncRadioData
  • pma-voice:syncSecondaryRadioData
Server registered events6
  • pma-voice:requestAssignedChannel
  • pma-voice:setPlayerCall
  • pma-voice:setPlayerRadio
  • pma-voice:setPlayerSecondaryRadio
  • pma-voice:setTalkingOnRadio
  • pma-voice:setTalkingOnSecondaryRadio

Commands

Client commands9
  • +radiotalk
  • +secondary_ptt
  • +secondaryradiotalk
  • -radiotalk
  • -secondary_ptt
  • -secondaryradiotalk
  • cycleproximity
  • setvoiceintent
  • vol
Server commands1
  • mt

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 Lua11
Server Lua5
Other/shared Lua2
JavaScript3
HTML1
CSS1
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before pma-voice.
  • 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.