EvoLabs
  • 👋Welcome
  • Scripts
    • 🔊evo_sound
      • Installation
      • Config
      • Exports
      • Sync System
    • 🔉evo_sound_player
      • Installation
      • Config
      • Exports
      • Hooks (client-side only)
Powered by GitBook
On this page
  • General
  • Car Radio
  • Boombox
  • Zones
  1. Scripts
  2. evo_sound_player

Config

There are many settings that can be modified in the config.lua file located at the root folder of the script.

General

Variable
Default
Type
Description

locale

'en-US'

string

Script locale, make sure it exists inside /locales folder

debug

false

boolean

Set to false on prod

framework

auto

string

Wich framework your server uses

verbosity

0

number

Log verbosity level

useEventSecurity

true

boolean

Use event security?

resourceName

'evo_sound'

string

Sound lib resource name

defaultVolume

0.5

number

Default UI volume

defaultLoop

false

boolean

Loop songs by default?

useSQL

true

boolean

Use SQL? Enables playlist feature

saveInterval

5

number

DB save interval in minutes

UIBetterInput

true

boolean

Improved ui input functionallity. Causes +0.01ms and disables INPUT_VEH_MOUSE_CONTROL_OVERRIDE when using 'Raw/Simple' mouse input

audioStreams

{}

table

List of radios

disabledControlActions

{}

table

Disabled controls while UI open

Car Radio

Variable
Default
Type
Description

radio.enabled

true

boolean

Enable car radio?

radio.command

'carradio'

string

Command to open car radio

radio.mapping

{ description = 'Car Radio', defaultMapper = 'keyboard', defaultParameter = 'q' }

table

Car radio command mapping

radio.allowedSeats

'front'

string

Wich seats allow to use radio

radio.distance

15

number

Distance of car radio

radio.baseVolume

0.5

number

Base volume of car radio

radio.disabledModels

{}

table

List of vehicles that wont be able to use car radio

radio.modelOverrides

{}

table

List of vehicle models to override baseVolume and distance

Boombox

Variable
Default
Type
Description

boombox.model

'prop_boombox_01'

string

Boombox model

boombox.command

'boombox'

string/nil

Command to spawn boombox. Use nil to disable

boombox.distance

15

number

Distance of boombox audio

boombox.baseVolume

0.25

number

Base volume of boombox audio

boombox.useItem

true

boolean

Enable using item?

boombox.itemData

{name = 'boombox', label = 'Boombox', weight = 1, type = 'item', image = 'boombox.png', unique = false, useable = true, description = 'Boombox'}

table

Boombox item object

Zones

Variable
Default
Type
Description

zones.command

music

string

Command to open radio menu inside audio zone

zones.list

{}

table

List of audio zones

PreviousInstallationNextExports

Last updated 7 months ago

🔉