game 'common' fx_version 'cerulean' author 'AvarianKnight' description 'VOIP built using FiveM\'s built in mumble.' dependencies { '/onesync', } lua54 'yes' shared_script 'shared.lua' client_scripts { 'client/utils/*', 'client/init/proximity.lua', 'client/init/init.lua', 'client/init/main.lua', 'client/init/submix.lua', 'client/module/*.lua', 'client/*.lua', } server_scripts { 'server/**/*.lua', 'server/**/*.js' } files { 'ui/*.ogg', 'ui/css/*.css', 'ui/js/*.js', 'ui/index.html', } ui_page 'ui/index.html' provides { 'mumble-voip', 'tokovoip', 'toko-voip', 'tokovoip_script' } convar_category 'PMA-Voice' { "PMA-Voice Configuration Options", { { "Use native audio", "$voice_useNativeAudio", "CV_BOOL", "false" }, { "Use 2D audio", "$voice_use2dAudio", "CV_BOOL", "false" }, { "Use sending range only", "$voice_useSendingRangeOnly", "CV_BOOL", "false" }, { "Enable UI", "$voice_enableUi", "CV_INT", "1" }, { "Enable F11 proximity key", "$voice_enableProximityCycle", "CV_INT", "1" }, { "Proximity cycle key", "$voice_defaultCycle", "CV_STRING", "F11" }, { "Voice radio volume", "$voice_defaultRadioVolume", "CV_INT", "30" }, { "Voice call volume", "$voice_defaultCallVolume", "CV_INT", "60" }, { "Enable radios", "$voice_enableRadios", "CV_INT", "1" }, { "Enable calls", "$voice_enableCalls", "CV_INT", "1" }, { "Enable submix", "$voice_enableSubmix", "CV_INT", "1" }, { "Enable radio animation", "$voice_enableRadioAnim", "CV_INT", "0" }, { "Radio key", "$voice_defaultRadio", "CV_STRING", "LMENU" }, { "UI refresh rate", "$voice_uiRefreshRate", "CV_INT", "200" }, { "Allow players to set audio intent", "$voice_allowSetIntent", "CV_INT", "1" }, { "External mumble server address", "$voice_externalAddress", "CV_STRING", "" }, { "External mumble server port", "$voice_externalPort", "CV_INT", "0" }, { "Voice debug mode", "$voice_debugMode", "CV_INT", "0" }, { "Disable players being allowed to join", "$voice_externalDisallowJoin", "CV_INT", "0" }, { "Hide server endpoints in logs", "$voice_hideEndpoints", "CV_INT", "1" }, } }