VOIP Integration
From this section, you can learn how to integrate your own voip.
Voip integration is simple. You only need to add 2 functions, one of them adds the player to the call and the other one removes the player from the call.
Ready Integrations
Example
if _IS_SERVER or not HasResource("pma-voice") then return end
-- CLIENT START
local PMA_VOICE = exports["pma-voice"]
---@param callId number
Config.Voip.AddPlayerToCall = function(callId)
return PMA_VOICE:addPlayerToCall(callId)
end
---@param callId number
Config.Voip.RemovePlayerFromCall = function(callId)
return PMA_VOICE:removePlayerFromCall()
end
Last updated