Config.lua
Config = {}
--- Common settings ---
Config.Debug = true -- If you want debug in console
Config.DefaultVolume = 0.1 -- Accepted values are 0.01 - 1
Config.Distance = 5.0 -- Dont touch this
Config.interact_sound_file = 'mp3' -- Only mp3 :D
--- Music environment ---
Config.Music = true -- Turn off all default music in clubs and shops, if true all music are on
--- Target system ---
Config.ox_target = true -- If you want to use ox_target
--- Item ---
Config.Item = 'jukebox_coin' -- Name of the item which you need to play music
--- Locations ---
Config.Locations = {
{
name = 'tequila_jukebox', -- Name of jukebox zone
model = `prop_50s_jukebox`, -- Model of jukebox, which you want use
coords = vec4(-552.9935, 289.6083, 82.1762, 318.0644), -- Coordinates where menu will appear if you are nearby (only work without ox_target)
coordsPlay = vec3(-552.9935, 289.6083, 82.1762), -- Coordinates same as coords, but wihout heading (last number)
radius = 30, -- Playing music distance (radius)
distance = 1, -- Menu appear distance
isPlaying = false -- Dont touch this
}
}
--- Language translate ---
Config.Language = {
['openMenu'] = '[E] - Open a Jukebox Menu',
['titleMenu'] = 'πΏ | Jukebox',
['jukeboxPlaylist'] = 'π΅ | Jukebox Playlist',
['playSong'] = 'πΆ | Play a song',
['playSongDesc'] = 'Play a song from playlist',
-- ['pauseMusic'] = 'βΈοΈ | Pause Music',
-- ['pauseMusicDesc'] = 'Pause a currently playing music',
-- ['resumeMusic'] = 'βΆοΈ | Resume Music',
-- ['resumeMusicDesc'] = 'Resume playing paused music',
['changeVolume'] = 'π | Change Volume',
['changeVolumeDesc'] = 'Change volume of song',
['stopMusic'] = 'β | Turn off music',
['stopMusicDesc'] = 'Stop the music & choose a new song',
['songSel'] = 'Song Selection',
['musicVolume'] = 'Music Volume',
['musicVolumeNm'] = 'Min: 0.01 - Max: 1' -- Pls dont change numbers (0.01 - 1)
}
--- Song configuration ---
Config.SongName = {
--- First Song ---
['first'] = 'π½ | Phao', -- Name of first song
['desc_first'] = 'Description of the song', -- Description of the song
['music_first_id'] = 'phao', -- ./sounds/name_of_the_song.mp3 without .mp3
--- Second Song ---
['second'] = 'π½ | Tokyo', -- Name of second song
['desc_second'] = 'Description of the song',
['music_second_id'] = 'tokyo',
--- Third Song ---
['third'] = 'π½ | Dancin', -- Name of third song
['desc_third'] = 'Description of the song',
['music_third_id'] = 'dancin',
--- Fourth Song ---
['fourth'] = 'π½ | Mess',
['desc_fourth'] = 'Description of the song',
['music_fourth_id'] = 'mess',
--- Fifth Song ---
['fifth'] = 'π½ | Fake ID',
['desc_fifth'] = 'Description of the song',
['music_fifth_id'] = 'fakeid'
--- You can add or rewrite any song ---
}
Last updated