structura foldere

mutat kq- folders in un singur folder [kq]
This commit is contained in:
2026-03-30 01:55:03 +03:00
parent af1286d583
commit c291b81f26
2319 changed files with 0 additions and 14 deletions
@@ -0,0 +1,28 @@
local pma = exports['pma-voice']
local mumble = exports['mumble-voip']
local toko = exports['tokovoip_script']
function AddToCall(callId)
if Config.Voice == 'pma' then
Debug('callId', callId)
pma:addPlayerToCall(callId)
elseif Config.Voice == 'mumble' then
mumble:addPlayerToCall(callId)
elseif Config.Voice == 'salty' then
TriggerServerEvent('phone:addToCall', callId)
elseif Config.Voice == 'toko' then
toko:addPlayerToRadio(callId)
end
end
function RemoveFromCall(callId)
if Config.Voice == 'pma' then
pma:removePlayerFromCall()
elseif Config.Voice == 'mumble' then
mumble:removePlayerFromCall()
elseif Config.Voice == 'salty' then
TriggerServerEvent('phone:removeFromCall', callId)
elseif Config.Voice == 'toko' then
toko:removePlayerFromRadio(callId)
end
end