Closed ghost closed 2 years ago
Please attach your SIRENS.lua. Can you also enable debug mode: /lvcdebug
and post a screenshot of the log print-out.
Seems like your profile is not found and no DEFAULT table is set in SIREN_ASSIGNMENT table.
This is for the main resource storage menu and not a plugin menu correct?
Hi Trevor,
This is correct. As far as I am aware, we have left SIRENS.lua alone, except for where we added some vehicles to the table, So unless we missed something there?
EIther case, here is what we got:
SIREN TONE TABLE:
ID- Generic Name (SIREN STRING) [vehicles.awc name]
1 - Airhorn (SIRENS_AIRHORN) [AIRHORN_EQD]
2 - Wail (VEHICLES_HORNS_SIREN_1) [SIREN_PA20A_WAIL]
3 - Yelp (VEHICLES_HORNS_SIREN_2) [SIREN_2]
4 - Priority (VEHICLES_HORNS_POLICE_WARNING) [POLICE_WARNING]
5 - CustomA (RESIDENT_VEHICLES_SIREN_WAIL_01) [SIREN_WAIL_01]
6 - CustomB (RESIDENT_VEHICLES_SIREN_WAIL_02) [SIREN_WAIL_02]
7 - CustomC (RESIDENT_VEHICLES_SIREN_WAIL_03) [SIREN_WAIL_03]
8 - CustomD (RESIDENT_VEHICLES_SIREN_QUICK_01) [SIREN_QUICK_01]
9 - CustomE (RESIDENT_VEHICLES_SIREN_QUICK_02) [SIREN_QUICK_02]
10 - CustomF (RESIDENT_VEHICLES_SIREN_QUICK_03) [SIREN_QUICK_03]
11 - Powercall (VEHICLES_HORNS_AMBULANCE_WARNING) [AMBULANCE_WARNING]
12 - FireHorn (VEHICLES_HORNS_FIRETRUCK_WARNING) [FIRE_TRUCK_HORN]
13 - Firesiren (RESIDENT_VEHICLES_SIREN_FIRETRUCK_WAIL_01) [SIREN_FIRETRUCK_WAIL_01]
14 - Firesiren2 (RESIDENT_VEHICLES_SIREN_FIRETRUCK_QUICK_01) [SIREN_FIRETRUCK_QUICK_01]
]]
-- CHANGE SIREN NAMES, AUDIONAME, AUDIOREF
SIRENS = {
--[[1]] { Name = 'Airhorn', String = 'SIRENS_AIRHORN', Ref = 0 }, --1
--[[2]] { Name = 'Wail', String = 'VEHICLES_HORNS_SIREN_1', Ref = 0 }, --2
--[[3]] { Name = 'Yelp', String = 'VEHICLES_HORNS_SIREN_2', Ref = 0 }, --3
--[[4]] { Name = 'Priority', String = 'VEHICLES_HORNS_POLICE_WARNING', Ref = 0 }, --4
--[[5]] { Name = 'CustomA', String = 'RESIDENT_VEHICLES_SIREN_WAIL_01', Ref = 0 }, --5
--[[6]] { Name = 'CustomB', String = 'RESIDENT_VEHICLES_SIREN_WAIL_02', Ref = 0 }, --6
--[[7]] { Name = 'CustomC', String = 'RESIDENT_VEHICLES_SIREN_WAIL_03', Ref = 0 }, --7
--[[8]] { Name = 'CustomD', String = 'RESIDENT_VEHICLES_SIREN_QUICK_01', Ref = 0 }, --8
--[[9]] { Name = 'CustomE', String = 'RESIDENT_VEHICLES_SIREN_QUICK_02', Ref = 0 }, --9
--[[10]] { Name = 'CustomF', String = 'RESIDENT_VEHICLES_SIREN_QUICK_03', Ref = 0 }, --10
--[[11]] { Name = 'Powercall', String = 'VEHICLES_HORNS_AMBULANCE_WARNING', Ref = 0 }, --11
--[[12]] { Name = 'Fire Horn', String = 'VEHICLES_HORNS_FIRETRUCK_WARNING', Ref = 0 }, --12
--[[13]] { Name = 'Fire Yelp', String = 'RESIDENT_VEHICLES_SIREN_FIRETRUCK_WAIL_01', Ref = 0 }, --13
--[[14]] { Name = 'Fire Wail', String = 'RESIDENT_VEHICLES_SIREN_FIRETRUCK_QUICK_01', Ref = 0 }, --14
}
--ASSIGN SIRENS TO VEHICLES
SIREN_ASSIGNMENTS = {
--['
⚠️ The default or fallback key ['DEFAULT'] should always be present and never removed. Doing so will result in issues.
That fixed it, Thankyou. Found out it wasn't me that changed it either. Made sure that won't happen again. Thanks again!
I'm unable to open the storage menu. When I do, it throws an error in console, then the plugin stops responding to my hotkeys.
The error is as follows:
SCRIPT ERROR: @lvc/UI/cl_ragemenu.lua:509: attempt to concatenate a boolean value
We're using the latest release version of lvc (3.2.8) on ESX