So I am fairly new to the FiveM community and have been messing around with vehicle mods and the like. I know the basics of replacing vehicles in FiveM and even doing addon vehicles. I also have been able to put in addon police cars into my server without any problems. I have been pulling cars and other vehicles off of the lspdfr site to place in my FiveM server.
Recently, I decided to expand from police cars to motorcycles and atv’s. I found a couple different models and can get them to install into my server without any problems. The vehicles work except for the lights and sirens. I have just a generic test server which doesn’t have any other mods in them. The atv and the motorcycle both have the generic civilian horn and don’t have lights or sirens when I tap “e” nor does the bullhorn work on it.
I did some research and a lot of people said to make sure to have the audioNameHash in the vehicles.meta be policeb which I did. I also have the flags FLAG_LAW_ENFORCEMENT and FLAG_EMERGENCY_SERVICE. I even made sure that the vehicleClass is set as VC_EMERGENCY. Even with all that, still just a civilian horn and no sirens/lights.
I saw a similar post with a response of getting luxury siren control mod. When I put that into the server, I can’t get the lights to work nor sirens. I can press the “e” key and sound the bullhorn and hold down the “r” key to have sirens sound but they will not turn on by pressing the “alt” key. I am sure it is an issue on my end but cannot figure out what the problem is for the life of me. This is only happening when I put the vehicle as an addon but it works perfectly as a replacement, just don’t want to replace the default police bike. If anyone can help me at all or has any ideas, I would be grateful to get this figured out. Lastly, I did also try to change the audioNameHash from UPPERCASE to lowercase as I read in another comment. This did not help at all.
Thanks again in advance for any advice you can give me!