LtChuckSmiley Posted May 30, 2015 Report Share Posted May 30, 2015 Hello, I recently added some new vehicles (http://forum.emergency-planet.com/topic/18974-new-la-mod-vehicles-releasedupdate-wip/) to my game, and upon testing it out, I noticed that my units had no siren. After searching around on these forums, I realized that I needed to edit my LASiren script. However, after adding the prototypes to the script, my game keeps crashing every time a siren turns on from one of my added vehicles. The first time it crashed, it said that my "statement [was] too long", so I created a new section on my LASiren script. Now, my game won't load. I have attached a .txt copy of what I have on my LASiren Script. The vehicles I added are as follows:lasd_tauruslasd_capricelapd_taurusexplorer_lasddodge_charger_lasdcv_umpc3cv_umpc4cv_lapd_slicktop2chp_suvAny help would be appreciated. Thank you so much! LASIREN.txt Quote Link to comment Share on other sites More sharing options...
The Loot Posted May 30, 2015 Report Share Posted May 30, 2015 There were some definite problems there from your copy paste, so it's no wonder it was causing a hard crash. I went and just changed it to an "else" statement for the last few sections with sirens 5 and 6. The old code is still there but commented out if you wish to do it the other way, but this way saves you from having to define all those police vehicles, and makes it so you don't have to add any new vehicles to the script in the future (as long as you want them to use those sirens).LASIREN.txt Quote Link to comment Share on other sites More sharing options...
LtChuckSmiley Posted May 31, 2015 Author Report Share Posted May 31, 2015 There were some definite problems there from your copy paste, so it's no wonder it was causing a hard crash. I went and just changed it to an "else" statement for the last few sections with sirens 5 and 6. The old code is still there but commented out if you wish to do it the other way, but this way saves you from having to define all those police vehicles, and makes it so you don't have to add any new vehicles to the script in the future (as long as you want them to use those sirens). Just tried it out, works perfectly. Thank you so much for your help! Quote Link to comment Share on other sites More sharing options...