freakinfuzzball Posted November 8, 2016 Report Share Posted November 8, 2016 Hello again, I'm trying to figure out errors I'm getting with the siren script. As you'll see in the script file attached, I've added 2 prototypes to the script: NHSPCHARGER and NHSPTAHOE. The first, NHSPCHARGER worked perfectly, no problems in game what so ever. The NHSPTAHOE gives me an error every time. I've double checked all the directories, they're all correct, names are correct, are there too many vehicles per siren? The error tells me to look at line 162, I don't see what the issue is. I've included the script and the pictures of the errors, in order if you press retry. Thanks LASiren.script Quote Link to comment Share on other sites More sharing options...
itchboy Posted November 9, 2016 Report Share Posted November 9, 2016 The condition for it is too long. StrCompare only allows I believe up to 12 at most. You will need to split it into another condition like this. Quote Link to comment Share on other sites More sharing options...
freakinfuzzball Posted November 9, 2016 Author Report Share Posted November 9, 2016 (edited) 1 hour ago, itchboy said: The condition for it is too long. StrCompare only allows I believe up to 12 at most. You will need to split it into another condition like this. THANK YOU! Your advice is a serious asset to this community, it is greatly appreciated! EDIT: Now I'm getting a "parenthesis does not match" error on line 256......... I thought I had this fixed! Sorry to bug you but here's the file again after the edits. Theres only a "}" on that line I don't understand what the issue is, I've even looked at other scripts as reference and it looks the same. LASiren.script LASiren.script Edited November 9, 2016 by freakinfuzzball Quote Link to comment Share on other sites More sharing options...
Nirvan Jonathan Baksh Posted November 9, 2016 Report Share Posted November 9, 2016 what is the name of the software you guys are using for making siren Quote Link to comment Share on other sites More sharing options...
LBFDEngine11 Posted November 9, 2016 Report Share Posted November 9, 2016 18 minutes ago, Nirvan Jonathan Baksh said: what is the name of the software you guys are using for making siren you can use Audacity to create a siren Quote Link to comment Share on other sites More sharing options...
freakinfuzzball Posted November 9, 2016 Author Report Share Posted November 9, 2016 (edited) 5 hours ago, itchboy said: The condition for it is too long. StrCompare only allows I believe up to 12 at most. You will need to split it into another condition like this. Now I'm getting a "parenthesis does not match" error on line 256......... I thought I had this fixed! Sorry to bug you but here's the file again after the edits. Theres only a "}" on that line I don't understand what the issue is, I've even looked at other scripts as reference and it looks the same. EDIT: Fixed it! LASiren.script LASiren.script Edited November 9, 2016 by freakinfuzzball Quote Link to comment Share on other sites More sharing options...
itchboy Posted November 9, 2016 Report Share Posted November 9, 2016 Quote Link to comment Share on other sites More sharing options...
Nirvan Jonathan Baksh Posted December 4, 2016 Report Share Posted December 4, 2016 what is the name of the software and a link for it Quote Link to comment Share on other sites More sharing options...
itchboy Posted December 5, 2016 Report Share Posted December 5, 2016 Notepad++. Quote Link to comment Share on other sites More sharing options...
TheAxeMan33 Posted December 5, 2016 Report Share Posted December 5, 2016 3 hours ago, Nirvan Jonathan Baksh said: what is the name of the software and a link for it If you mean for making sirens, http://www.audacityteam.org/ Quote Link to comment Share on other sites More sharing options...