Voice Script Adaptation
Server side
includes "sv_template.lua "
Default answer call trigger (SERVER)
NO CLIENT SCRIPT SUPPORT - You can forward yourself codes - like triggerclientevent
We added example you:
Templates.VoiceAPP_StartCall = function(source1, source2)
exports['pma-voice']:setPlayerCall(source1, source2)
-- You can add more voice scripts
end
Default end call trigger (SERVER)
NO CLIENT SCRIPT SUPPORT - You can forward yourself codes - like triggerclientevent
We added example you:
Templates.VoiceAPP_EndCall = function(source1, source2)
-- You shcan adapt for your voice script
end
Last updated