Wkboy714 Posted September 19, 2014 Report Share Posted September 19, 2014 Hey,I've taken the LA mod's siren script for my own use but when trying to load the script I get about ten script errors. All I've changed is the prototypes of the vehicles and the parameters random number generation, the rest of the script is identical to LA mod's default script but it's freaking out and I'm not sure why. It advises that I may need to use a +P or -p option but to be honest I have no idea what that means. Even more confusing is that some script errors repeat themselves and the line it refers to in question seems to be identical to the original script. Also, what the hell does the error message about "this definitely is an evil workaround" mean?! I've been trying for days but I'm stuck so I'd appreciate help here please Attached the script, and click below to see the error messages. (_Sirenscb4c3): Error: Unexpected EOF G_fignostream():3 (_Sirenscb4c3): FILE:mod:/scripts/game/command/Sirens.SCRIPTcb4c3Line:613 (_Sirenscb4c3): Advice: You may need to use the +P or -p option. (_Sirenscb4c3): Error: Parenthesis do not match (_Sirenscb4c3): FILE:mod:/scripts/game/command/Sirens.SCRIPTcb4c3Line:613 (_Sirenscb4c3): Error: Unexpected EOF G_fignostream():3 (_Sirenscb4c3): FILE:mod:/scripts/game/command/Sirens.SCRIPTcb4c3Line:613 (_Sirenscb4c3): Advice: You may need to use the +P or -p option. (_Sirenscb4c3): Error: Symbol this_definitely_is_an_evil_workaround_2964_4d00 is not defined in current scope (_Sirenscb4c3): FILE: LINE:0sirens.txt Quote Link to comment Share on other sites More sharing options...
bma Posted September 19, 2014 Report Share Posted September 19, 2014 Easiest solution, delete the script and try again Quote Link to comment Share on other sites More sharing options...
EmC-Unit Posted September 19, 2014 Report Share Posted September 19, 2014 When you copy lines with paths to prototypes selection may chose " too and you might get it deleted, try again with caution. Oh i have missed that you have added a script in attachmentsAs i see you got ...== 0 in the last StrCompare when it has to be == 0)Example not right: } int soundID; Vector CarPos = v.GetPosition(); if (StrCompare(v.GetPrototypeFileName(), PROTO_DPL01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DPL02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_FRU1) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_IRU01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_USAR01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DLK) == 0 {Examlpe Right: } int soundID; Vector CarPos = v.GetPosition(); if (StrCompare(v.GetPrototypeFileName(), PROTO_DPL01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DPL02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_FRU1) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_IRU01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_USAR01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DLK) == 0) { Quote Link to comment Share on other sites More sharing options...
Wkboy714 Posted September 19, 2014 Author Report Share Posted September 19, 2014 Thanks EMC and thanks to the guy that messaged me. I tried both your ideas but didn't work. I just did bma's suggestion of starting again and checking it works every minute, and I have it working now. Thanks Quote Link to comment Share on other sites More sharing options...