Coder Social home page Coder Social logo

trevorbarns / luxart-vehicle-control Goto Github PK

View Code? Open in Web Editor NEW
134.0 12.0 57.0 3.01 MB

A siren / (non-els) emergency lights controller for FiveM.

Home Page: https://www.luxartengineering.com/

License: GNU General Public License v3.0

Lua 95.54% HTML 0.49% JavaScript 3.66% CSS 0.31%
fivem-script fivem luxart-vehicle-control

luxart-vehicle-control's Introduction

Luxart Vehicle Control v3

Support, Suggestions, and Updates: TrevorBarns Development Discord

Other Resources

Tier 2 Sponsors

Credits:

Luxart Vehicle Control was an ingenious creation by Lt. Caine! Thank you!

ELS Clicks added by Faction, this added realism pushed me to get into developing in the first place. Thank you!

All credit to those above who contributed there projects can be found here:

luxart-vehicle-control's People

Contributors

arkhunter623 avatar blumlaut avatar dawsongodin avatar jordan2139 avatar trevorbarns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luxart-vehicle-control's Issues

Random number on screen when using sirens.

Hello, when I toggle my sirens on a random number appears on the screen (5000) and goes down in a loop increments of 500. Screenshot attached shows it at 2000. Stops counting down when it hits 0 and then loops back up to 5000.

image

Version: 3.2.2

Passenger Control: Allow for LVC use / sharing by passenger.

Allow for players in passenger seat to control LVC. Determine in what capacity they can control the vehicle in its entirety (menu included) or simply the main functions (lights, sirens control).

Unfortunately, this is not as simple as expanding the check for player_is_emerg_driver to allow for passengers as well. This results in the passengers request being played temporarily on the passengers client but shortly after being overridden by the drivers original state. To the driver this appears as minor blips of audio and flashes.

I am hypothesizing that this is a race condition between the driver and passengers client, ever 200 ticks of the main LVC thread it sends the vehicle's states. I am not 100% sure this is the case and am not currently sure the best way of overcoming this without reengineering the system.

Error code in F8 console and Custom sets not working

Hello,

2 issues, not sure if they are related or not:

1st: There is an error in the console when the script is started
image

2nd: I have set up custom siren settings in the VEHICLES file but they are not being followed. My fire trucks are still using the default setting.

Support for WM-ServerSirens

WM-ServerSirens is a server sided streaming resource. Build config option, instructions, schemes, vehicles.luas.

Submitted by VxperZ9421.

Lighting and Sirens are not functioning on addon vehicles.

I've installed the latest release of LVC and followed the instructions as closely as I could.

I do not see any error jumping out at me.
The UI of the controller does appear.
I do have the Shift H takedown function working.
The siren will sound while holding R.
The up-arrow key does not work.
The E horn also works.

...however, Q will not start my lights, nor can I then L ALT for my sirens.

I'm attempting to get the lighting and sirens functioning on the addon LEO vehicles I have added, which are JA Deigns' Code 3 Mega Pack. Checking the [vehicle.meta] the vehicle class is set as VC_EMERGENCY.

This is not an issue for only 1 vehicle but every vehicle I have added, the entirety of the Code 3 Mega Pack three times as I have uploaded them each three times with different department liveries.

TIA!

[here is what I think is the error log if it helps and I am missing something.]
CitizenFX_log_2022-06-03T221053.log

EDIT:
20 minutes after writing this I tried uploaded a vehicle from another pack and testing it. The Valor Pack I think from RedSaint is working correctly so I must have messed up the whole JA Designs pack. I will obviously go in and look myself but if you respond before I find it what are the first double checks to cross off?

Blackout function not working

I haven't been able to get the blackout function to work on any vehicles. :( I've checked in the FiveM key binds to ensure I have the correct key mapped, and I've tried it with a few different key binds just in case. No luck. Any idea what might be going on?

LVC ERROR 2

Hi, the sirens were working before. Now it doesn't work anymore. All files are as before.

Thanks in advance.
whythis

Sirens

Im having issues where the sirens arent synced the driver can hear the siren but the passenger cant hear it or sometimes if there is a player near me they here the default siren but if they turn on their siren they here the custom siren they have.

HUD Settings Crash

Describe the bug
When selecting HUD Settings from the lux_vehcontrols menu said menu crashes and then cannot be reopened with F9 unless player disconnects and reconnects to the server.

To Reproduce
Steps to reproduce the behavior:

  1. Open lux_vehcontrols with F9 (or configured bind)
  2. Select HUD Settings

Expected behavior
Display the HUD settings menu.

Screenshots
Console: image

Extra Context
These are the plugins that are enabled at the time of this report:

These resources will start by default.

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure rconlog
ensure scoreboard
ensure cron
ensure fivem-map-hipster
ensure txAdmin
ensure RageUI

Vehicles

ensure 2020FPIUUM
ensure stealth16fpiu
ensure 2020IMPALA

#vrp
ensure ghmattimysql
ensure vrp_mysql
ensure vrp
ensure vrp_playernames
ensure vrp_basic_mission
ensure vrp_barbershop
ensure vrp_carwash
ensure vrp_loadfreeze
ensure vRP_AdvancedFuel
ensure vrp_job_display
ensure vrp_bankrobbery
ensure vrp_basic_menu
ensure vrp_barrier
ensure vrp_TruckerJob
ensure vrp_ubermission
ensure vrp_fixdvcar
ensure vrp_hotkeys
ensure vrp_doors
ensure railhouse
ensure online
ensure bob74_ipl
ensure pvp
ensure Ped

#condensed scripts (non-vrp)
ensure CustomScripts

#police skins
ensure PolicePeds

#vMenu
ensure vMenu
ensure kgv-phone

Handling

ensure handling

Vechile Extentisons

ensure lux_vehcontrol

Script error when attempting to open the storage management menu.

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

image

We're using the latest release version of lvc (3.2.8) on ESX

Make it so you can exclude vehicles that are built for ELS

As the owner of a british server, almost every emergency vehicle we use is an ELS vehicle, and as such we are forced to use two different sytems, one for ELS and one for NON-Els cars. Making it so we could exclude models from using this script would be incredible

Doesn't work

I can see the garbage message at the top but nothing else works. What a waste of my time.

image

Some players can't enable lights

Hey,
I searched for this issue and found something: #12
So TrevorBarns said, this is fixed, but I still get this issue. LVC works fine at first but also after about 30 minutes it breaks for some users and needs a restart. I got the newest version of LVC.

~Paul

LVC enabling/disabling random extras on vehicles

So pretty simple, on some emergency vehicles LVC is just removing the lightbar. Is there some way to fix this?
I think it does not delete the lightbar on vehicles where the lightbar is an extra you can enable and disable but does delete it on vehicle where the lightbar is not an extra.

Edit: Appearently its just adding and removing random extras
2nd Edit: It does also delete extras on saved vehicles where, for example, Extra 1 is enabled and Extra 2 is disabled, LVC ist just disabling Extra 1 or something like that

~Paul

Radio controls not working

The Tilda key no longer seems to work for radio in emergency vehicles, I am on the latest LVC version.

Labeling in main siren settings menu not ordered correctly.

In VEHICLES.lua I added a custom car like this:

car = { 1, 7, 10, 4 }

My intention is to have the cycle in the order of 7, 10, 4. Using R to cycle those does work as expected and retains the order.

Now have a look at this list.

2020-10-04 17_28_11-FiveM - Salzian Local Dev

The labels are instead ordered by the corresponding number of the sound.

Priority = 4
BikeWail = 7
BikeYelp = 10

While this may be confusing on it's own, the real problem is, that the settings on the right (Cycle & Button) does not follow this ordering. To set the Priority sound to e.g. "Cycle only", you need to set BikeYelp at the bottom.

For some reason the Hotkeys are in the settings but nothing works

So, i have a custom FivePD server with my friend and we recently updated from Luxart by Lt.Cane to the newest release. However for some reason i cant get any of it to work, i have tried everything i can think of to get it to work, i have all of the keybinds listed in the Five M key binds section, but yet none of them work even for the default Police Cars. I would really like to get this working but i genuinely am out of ideas. If anyone could help me that would be dope! ill send ss and stuff if asked, but there are almost 0 Error codes and 0 indication as to why its not working

Wrong Siren Tones Play

I am experiencing a bug in which the wrong tones play. Yes I have ensured the wm sirens were installed correctly. Yes the bottom of the sirens.lua list each vehicle GAME NAME with the corresponding numbers of its assigned sirens.

resource not found

Latest release from 5 days ago doesn't show up ingame. Console says couldn't find resource dont know why. Previous release worked fine

Siren Sticking

I'm having an issue where sirens are getting stuck on if there are passengers in a vehicle and the driver exits the vehicle with the siren on. When someone enters the driver seat again and presses ALT the sirent doesn't turn off. Then if ALT is pressed again a second siren will turn on. The vehicle then is in a permanent state, whether there is a passenger or not, where if you exit with the siren on the siren can't be turned off. Not sure if this is a general FiveM issue or some setting I may have in one of my scripts causing this. Or if it is the versions of the vehicles I am using.

global 'AUDIO' is nil

Hi, when I try to turn on (by pressing Q) the lights I get those errors:

20220129154607_1

I alerady have:

  • set a community id;
  • put the RageUI folder in the same directory ( [local] ) where lvc is also located;
  • changed the resource folder name to lvc;
  • changed the fxmanifest.lua to the linux one (cause I'm running the server on a debian machine);
  • checked the vehicleClass and it is VC_EMERGENCY;
  • server artifact version 5273;
  • last lvc version 3.2.8

Then I have edited the fxmanifest to this because previously the resource wan't even starting:

------------------------------

fx_version 'adamant'
games { 'gta5' }

author 'TrevorBarns w/ credits see GitHub'
description 'A siren / emergency lights controller for FiveM.'
version '3.2.8'	
compatible '3.2.2'

------------------------------

experimental 'false'	-- Mute unstable version warning in server console.
debug_mode 'false' 		-- More verbose printing on client console.

------------------------------

ui_page('UI/html/index.html')
	
dependencies {
    'RageUI'
}

files({
    'UI/html/index.html',
    'UI/html/lvc.js',
    'UI/html/style.css',
	'UI/sounds/Hazards_Off.ogg',
	'UI/sounds/Hazards_On.ogg',
	'UI/sounds/Key_Lock.ogg',
	'UI/sounds/Locked_Press.ogg',
	'UI/sounds/Cencom/Downgrade.ogg',
	'UI/sounds/Cencom/Off.ogg',
	'UI/sounds/Cencom/On.ogg',
	'UI/sounds/Cencom/Press.ogg',
	'UI/sounds/Cencom/Release.ogg',
	'UI/sounds/Cencom/Reminder.ogg',
	'UI/sounds/Cencom/Upgrade.ogg',
	'UI/sounds/SSP2000/Downgrade.ogg',
	'UI/sounds/SSP2000/Off.ogg',
	'UI/sounds/SSP2000/On.ogg',
	'UI/sounds/SSP2000/Press.ogg',
	'UI/sounds/SSP2000/Release.ogg',
	'UI/sounds/SSP2000/Reminder.ogg',
	'UI/sounds/SSP2000/Upgrade.ogg',
	'UI/sounds/SSP3000/Downgrade.ogg',
	'UI/sounds/SSP3000/Off.ogg',
	'UI/sounds/SSP3000/On.ogg',
	'UI/sounds/SSP3000/Press.ogg',
	'UI/sounds/SSP3000/Release.ogg',
	'UI/sounds/SSP3000/Reminder.ogg',
	'UI/sounds/SSP3000/Upgrade.ogg',
	'UI/sounds/ST300/Downgrade.ogg',
	'UI/sounds/ST300/Off.ogg',
	'UI/sounds/ST300/On.ogg',
	'UI/sounds/ST300/Press.ogg',
	'UI/sounds/ST300/Release.ogg',
	'UI/sounds/ST300/Reminder.ogg',
	'UI/sounds/ST300/Upgrade.ogg',
	'UI/textures/background.png',
	'UI/textures/day/horn_off.png',
	'UI/textures/day/horn_on.png',
	'UI/textures/day/lock_off.png',
	'UI/textures/day/lock_on.png',
	'UI/textures/day/siren_off.png',
	'UI/textures/day/siren_on.png',
	'UI/textures/day/slide_off.png',
	'UI/textures/day/slide_on.png',
	'UI/textures/day/ta_off.gif',
	'UI/textures/day/tkd_off.png',
	'UI/textures/day/tkd_on.png',
	'UI/textures/night/horn_off.png',
	'UI/textures/night/horn_on.png',
	'UI/textures/night/lock_off.png',
	'UI/textures/night/lock_on.png',
	'UI/textures/night/siren_off.png',
	'UI/textures/night/siren_on.png',
	'UI/textures/night/slide_off.png',
	'UI/textures/night/slide_on.png',
	'UI/textures/night/ta_off.gif',
	'UI/textures/night/tkd_off.png',
	'UI/textures/night/tkd_on.png',
	'UI/textures/ta/pattern_1/ta_center.gif',
	'UI/textures/ta/pattern_1/ta_left.gif',
	'UI/textures/ta/pattern_1/ta_right.gif',
	'UI/textures/ta/pattern_2/ta_center.gif',
	'UI/textures/ta/pattern_2/ta_left.gif',
	'UI/textures/ta/pattern_2/ta_right.gif',
	'UI/textures/ta/pattern_3/ta_center.gif',
	'UI/textures/ta/pattern_3/ta_left.gif',
	'UI/textures/ta/pattern_3/ta_right.gif',
	'UI/textures/ta/pattern_4/ta_center.gif',
	'UI/textures/ta/pattern_4/ta_left.gif',
	'UI/textures/ta/pattern_4/ta_right.gif',
	'UI/textures/ta/pattern_5/ta_center.gif',
	'UI/textures/ta/pattern_5/ta_left.gif',
	'UI/textures/ta/pattern_5/ta_right.gif',
	'UI/textures/ta/pattern_6/ta_center.gif',
	'UI/textures/ta/pattern_6/ta_left.gif',
	'UI/textures/ta/pattern_6/ta_right.gif',
	'UI/textures/ta/pattern_7/ta_center.gif',
	'UI/textures/ta/pattern_7/ta_left.gif',
	'UI/textures/ta/pattern_7/ta_right.gif',
	'UI/textures/ta/pattern_a/ta_center.gif',
	'UI/textures/ta/pattern_a/ta_left.gif',
	'UI/textures/ta/pattern_a/ta_right.gif',
	'UI/textures/ta/pattern_b/ta_center.gif',
	'UI/textures/ta/pattern_b/ta_left.gif',
	'UI/textures/ta/pattern_b/ta_right.gif',
	'UI/textures/ta/pattern_c/ta_center.gif',
	'UI/textures/ta/pattern_c/ta_left.gif',
	'UI/textures/ta/pattern_c/ta_right.gif',
	'UI/textures/ta/pattern_d/ta_center.gif',
	'UI/textures/ta/pattern_d/ta_left.gif',
	'UI/textures/ta/pattern_d/ta_right.gif',
})


shared_script {
	'SETTINGS.lua',
}

client_scripts {
	---------------RAGE-UI---------------
    "@RageUI/RMenu.lua",
    "@RageUI/menu/RageUI.lua",
    "@RageUI/menu/Menu.lua",
    "@RageUI/menu/MenuController.lua",
    "@RageUI/components/Audio.lua",
    "@RageUI/components/Enum.lua",
    "@RageUI/components/Keys.lua",
    "@RageUI/components/Rectangle.lua",
    "@RageUI/components/Sprite.lua",
    "@RageUI/components/Text.lua",
    "@RageUI/components/Visual.lua",
    "@RageUI/menu/elements/ItemsBadge.lua",
    "@RageUI/menu/elements/ItemsColour.lua",
    "@RageUI/menu/elements/PanelColour.lua",
    "@RageUI/menu/items/UIButton.lua",
    "@RageUI/menu/items/UICheckBox.lua",
    "@RageUI/menu/items/UIList.lua",
    "@RageUI/menu/items/UISeparator.lua",
    "@RageUI/menu/items/UISlider.lua",
    "@RageUI/menu/items/UISliderHeritage.lua",
    "@RageUI/menu/items/UISliderProgress.lua",
    "@RageUI/menu/panels/UIColourPanel.lua",
    "@RageUI/menu/panels/UIGridPanel.lua",
    "@RageUI/menu/panels/UIPercentagePanel.lua",
    "@RageUI/menu/panels/UIStatisticsPanel.lua",
    "@RageUI/menu/windows/UIHeritage.lua",
	-------------------------------------
	'SIRENS.lua',
	'UTIL/cl_lvc.lua',
	'UTIL/cl_storage.lua',
	'UTIL/cl_utils.lua',
	'UI/cl_hud.lua',
	'UI/cl_ragemenu.lua',
	'PLUGINS/cl_plugins.lua',
	-------------------------------------
	'PLUGINS/extra_controls/controls.json',
	'PLUGINS/extra_controls/SETTINGS.lua',
	'PLUGINS/extra_controls/UI/cl_ragemenu.lua',
	'PLUGINS/extra_controls/UTIL/cl_extracontrol.lua',
	'PLUGINS/extra_integration/SETTINGS.lua',
	'PLUGINS/extra_integration/UI/cl_ragemenu.lua',
	'PLUGINS/extra_integration/UTIL/cl_extras.lua',
	'PLUGINS/takedowns/SETTINGS.lua',
	'PLUGINS/takedowns/UI/cl_ragemenu.lua',
	'PLUGINS/takedowns/UTIL/cl_tkds.lua',
	'PLUGINS/traffic_advisor/SETTINGS.lua',
	'PLUGINS/traffic_advisor/UI/cl_ragemenu.lua',
	'PLUGINS/traffic_advisor/UTIL/cl_advisor.lua',
	'PLUGINS/trailer_support/SETTINGS.lua',
	'PLUGINS/trailer_support/UI/cl_ragemenu.lua',
	'PLUGINS/trailer_support/UTIL/cl_trailer.lua',
	'PLUGINS/extra_controls/controls.json',
}

server_script {
	'UTIL/sv_lvc.lua',
	-------------------------------------
	'PLUGINS/extra_controls/UTIL/sv_version.lua',	
	'PLUGINS/extra_integration/UTIL/sv_version.lua',
	'PLUGINS/takedowns/UTIL/sv_tkds.lua',
	'PLUGINS/takedowns/UTIL/sv_version.lua',	
	'PLUGINS/traffic_advisor/UTIL/sv_advisor.lua',
	'PLUGINS/traffic_advisor/UTIL/sv_version.lua',
	'PLUGINS/trailer_support/UTIL/sv_version.lua',
}
------------------------------

And at the end I have edited the SIRENS.lua file to this:

SIREN_ASSIGNMENTS = {
    --['<gameName>'] = {tones},
    ['DEFAULT'] = { 1, 2, 3, 4 }, 
    --['FIRETRUK'] = { 12, 13, 14, 11 }, 
    --['AMBULAN'] = { 1, 2, 3, 4, 11 }, 
    --['LGUARD'] = { 1, 2, 3, 4, 11 },
    ['AMSAMBULANCE'] = { 1, 2, 3, 4, 11 },
    ['AMSCAR'] = { 1, 2, 3, 4, 11 },
}

Main Siren Settings Not Saving

Just went to the rev1 version to fix the in car radio. All of the siren settings save, except for the cycle/button settings. You can get in a car, make certain sirens button only, cycle only, etc and then save it. However, it doesn't save. Everything else saves. I have cars with rumblers and want the rumblers to be button only, but every time I get in a new car, it resets to cycle & button. All other settings save. Didn't have this issue before changing versions. I carried over the plugins and sirens.lua so I didn't have to redo them, idk if that's an issue.

Sounds not playing

Fresh install of LVC straight from the latest release on this repo. None of the sounds are working for me (as in the sounds generated by LVC, such as clicks, reminder beep, etc.; sirens and other sounds are fine). Have checked everything I can think of and can't figure out why it's not working. This is on a Linux server. Please let me know if you need any other information to troubleshoot and help resolve. Thank you. -Shawn

Cannot read property "left" of undefined

Uncaught typeError: Cannot read property "left" of undefined

Error apparently occurs in UI/html/lvc.js line 96

There also is another issue that nobody else can hear your sirens (using wm-serversirens) after a while (unknown if connected to this issue, but probably not)

No manual siren

So basically the manual siren (R-Button) doesn't work until you honk once. Tried it out, doesn't matter which Airhorn Behaviour is selected. Also tried it with enabling siren per 1/2/3-button, disabling siren and then trying manual. So seems like you really have to honk once to make manual siren work.

Edit: The SFX doesn't sound either

~Paul

Siren cycle crash when all siren are "Button only"

When trying to cycle the sirens with R while all tones are set to "Button only", the client starts to hang indefinitely.

Version: 3.1.3-beta

Reproduction

  1. Spawn any emergency vehicle and enter it
  2. Open Menu using O
  3. Go to "Main Siren Settings" menu
  4. Set all tones to "Button only"
  5. Close menu
  6. Activate lights & siren (Alt + Q)
  7. Press R to cycle

Expected behaviour

Nothing, there are no sirens to cycle through.

Actual behaviour

The FiveM client hangs and can only be closed using the task manager.

Suspicion

I believe there may be an infinite loop going on trying to cycle through an empty list of sirens, since none are enabled for the "cycle" mode.

function GetNextTone(current_tone, veh, main_tone)
main_tone = main_tone or false
local veh_name = GetDisplayNameFromVehicleModel(GetEntityModel(veh))
local temp_tone_array = nil
local temp_pos = -1
if _G[veh_name] ~= nil then
temp_tone_array = _G[veh_name]
else
temp_tone_array = DEFAULT
end
for i, allowed_tone in ipairs(temp_tone_array) do
if allowed_tone == current_tone then
temp_pos = i
end
end
if temp_pos < #temp_tone_array then
temp_pos = temp_pos+1
result = temp_tone_array[temp_pos]
else
temp_pos = 2
result = temp_tone_array[2]
end
if main_tone then
--Check if the tone is set to 'disable' or 'button-only' if so, find next tone
if main_tone_settings[temp_pos-1] ~= nil then
if main_tone_settings[temp_pos-1][2] > 2 then
result = GetNextTone(result, veh, main_tone)
end
else
ShowNotification("~r~LVC ERROR 1: ~s~Nil value caught.\ndetails: (" .. temp_pos .. "," .. result .. "," .. GetVehicleProfileName() .. ")")
end
end
return result
end

Unfortunately my LUA knowledge is not sufficient enough to debug a script of this size myself.

no sound

no siren or sound just lights

Set default HUD position server side

Hey,
is there a possibility to set the default HUD position server sided? So all players have the HUD at the same scale and position until they change it by there own? I dont find that option in the configs.

Multiple language support

Hello all!

Is there any interest here to support multiple languages? I have to manually convert translations every time I update.
I could very well imagine working here, as in many other scripts, with an extra 'locales' folder and existing locale files for each supported language.

If such support is desired, then I would be willing to implement this conversion and create a pull request for later review.

Best regards
Dustin

ADDON VEHICLES DOESN'T WORK

Hello!
With addon vehicles the sirens do not work, only the manual ones go. Is there any way to fix it? Thanks

[BUG] http https issue?

[ 92016] [b2372_GTAProce] CrBrowserMain/ Mixed Content: The page at 'https://cfx-nui-lvc//UI/html/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://lvc/hud:sendHudScale'. This request has been blocked; the content must be served over HTTPS. (@game/ui/jquery.js:8623) caused a crash :(

Only Blast Siren

For some cars i can only blast the siren by holding R but i can toggle them with other emergency cars. this has the same vehicles.meta as the other car it works for apart from the name.

HUD showing up on random vehicles

On random vehicles in Utility, Commerical, Industrial and others the HUD will appear when spawning from Emergency to sed vehicle classes. This also crashes game from time to time.

TA Bar Example Config

Hey,
i just installed it but i can't get it to work. I currently use this Pack

https://gtapolicemods.com/files/file/739-non-els-working-ta-barlore-friendly-chp-vehicle-pack-working-spotlight-reflective-liveries/

and tried the following:

`--------------------TRAFFIC ADVISOR SETTINGS---------------------
ta_masterswitch = true
-- Determines if traffic_advisor plugin can be activated.
ta_combokey = false
-- Key that needs to be pressed in combination with registered key mapping. Set to false to disable. (default: disabled (false))

--[[ Documentation / Wiki: https://github.com/TrevorBarns/luxart-vehicle-control/wiki/Traffic-Advisor ]]

TA_ASSIGNMENTS = {
['DEFAULT'] = { lightbar = 3
left = { on = { add = 11, remove = 10, repair = true }, off = { add = { 10 }, remove = { 11 } } },
right = { on = { add = 12, remove = 10, repair = true }, off = { add = { 10 }, remove = { 12 } } },
middle = { on = { add = { 10 }, remove = {}, repair = true }, off = { add = {}, remove = { 10 } } },
},

`
The Left Function is on Extra11, the right function on Extra12, Middle on Extra10.

Can anyone help me out?

Is it correct that i trigger the TA with the indicator-buttons? Or do they have extra keys? Would be great if the Wiki Pages could be more detailed :)

Thank you :)

Work with ELS?

I have some rmod police cars and they do not work with this. Any way to accommodate ELS here?

Suggestion: Integrating DLS lighting configs for stage lighting

It's a very good design upgrade you have here. Adding DLS lighting config support would take it to the next level. DLS (Dynamic Lighting System) is something that was made for non-ELS cars on single player to give you Multi-stage lights. Especially helpful when you can't find your favorite cars (my case vanilla enhanced) in ELS.

Just a thought. (Not an issue)

Maybe it something you've got on your radar, but thought I'd offer it up.

Profile does not save Tone Options correctly

When I change Tone Options for a particular siren (such as setting Priority to Button Only, which I always like to do), and then goto Storage Management > Save Settings and save my configuration, it doesn't restore when I'm back in the vehicle again later. Let me know what information I can provide to help troubleshoot further. Thank you. -Shawn

WM_ServerSirens No Sound

Hi, I've followed through the instructions for using wm-serversirens to the letter. I've added them as new sirens, and changed the siren assignments, rather than replace the default. However the siren is silent. It's not giving any errors and if I open the menu I can see the default wail siren is set to "New Wail" but it just won't play anything

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.