51 lines
3.1 KiB
Lua
51 lines
3.1 KiB
Lua
--------------------EXTRA INTEGRATION SETTINGS---------------------
|
|
ec_masterswitch = true
|
|
-- Determines if extra_integration plugin can be activated.
|
|
allow_custom_controls = true
|
|
-- Enabled/Disables menu which allows for custom controls to be set.
|
|
--[[ Documentation / Wiki: https://github.com/TrevorBarns/luxart-vehicle-control/wiki/Extra-Controls ]]
|
|
|
|
EXTRA_CONTROLS = {
|
|
['DEFAULT'] = { },
|
|
['enladder'] = {
|
|
-- { '<name>', Extras = {<extras table>}, Combo = <default combo>, Key = <default key>, (opt.) Audio = < button soundFX> }
|
|
{ Name = 'Front Cut', Extras = {add = 8, remove = 9, repair = true}, Combo = 155, Key = 20, Audio = true },
|
|
{ Name = 'Scene Lights', Extras = {toggle = 9, repair = true}, Combo = 349, Key = 20, Audio = true },
|
|
{ Name = 'Pass. Spot Light', Extras = {add = 3, remove = 4, repair = true}, Combo = 326, Key = 20, Audio = false },
|
|
},
|
|
['engine6'] = {
|
|
-- { '<name>', Extras = {<extras table>}, Combo = <default combo>, Key = <default key>, (opt.) Audio = < button soundFX> }
|
|
{ Name = 'Test', Extras = {add = 4, remove = 9, repair = true}, Combo = 155, Key = 20, Audio = true },
|
|
{ Name = 'Test2', Extras = {toggle = 5, repair = true}, Combo = 349, Key = 20, Audio = true },
|
|
{ Name = 'Test3', Extras = {add = 6, remove = 7, repair = true}, Combo = 326, Key = 20, Audio = false },
|
|
},
|
|
['engine6a'] = {
|
|
-- { '<name>', Extras = {<extras table>}, Combo = <default combo>, Key = <default key>, (opt.) Audio = < button soundFX> }
|
|
{ Name = 'Test', Extras = {add = 4, remove = 9, repair = true}, Combo = 155, Key = 20, Audio = true },
|
|
{ Name = 'Test2', Extras = {toggle = 5, repair = true}, Combo = 349, Key = 20, Audio = true },
|
|
{ Name = 'Test3', Extras = {add = 6, remove = 7, repair = true}, Combo = 326, Key = 20, Audio = false },
|
|
},
|
|
['engine6d'] = {
|
|
-- { '<name>', Extras = {<extras table>}, Combo = <default combo>, Key = <default key>, (opt.) Audio = < button soundFX> }
|
|
{ Name = 'Test', Extras = {add = 4, remove = 9, repair = true}, Combo = 155, Key = 20, Audio = true },
|
|
{ Name = 'Test2', Extras = {toggle = 5, repair = true}, Combo = 349, Key = 20, Audio = true },
|
|
{ Name = 'Test3', Extras = {add = 6, remove = 7, repair = true}, Combo = 326, Key = 20, Audio = false },
|
|
},
|
|
['rescue6'] = {
|
|
-- { '<name>', Extras = {<extras table>}, Combo = <default combo>, Key = <default key>, (opt.) Audio = < button soundFX> }
|
|
{ Name = 'Test', Extras = {add = 4, remove = 9, repair = true}, Combo = 155, Key = 20, Audio = true },
|
|
{ Name = 'Test2', Extras = {toggle = 5, repair = true}, Combo = 349, Key = 20, Audio = true },
|
|
{ Name = 'Test3', Extras = {add = 6, remove = 7, repair = true}, Combo = 326, Key = 20, Audio = false },
|
|
},
|
|
|
|
|
|
}
|
|
|
|
CONTROLS = {
|
|
-- COMBOS = { <list of index/key ID of approved combo-keys> }, List of Controls: https://docs.fivem.net/docs/game-references/controls/
|
|
-- KEYS = { <list of index/key ID of approved toggle keys> }
|
|
-- ex: COMBOS = { 326, 155, 19, 349 }, --LCTRL, LSHIFT, LALT, TAB
|
|
-- ex: KEYS = { 187, 188, 189, 190, 20 }, -- ARROW LFT, DWN, UP, RGT, Z
|
|
COMBOS = { },
|
|
KEYS = { }
|
|
} |