July 2, 201213 yr The only time it will give you a script error is when it could not load the spotlight object. Please double check that you have the correct settings in images.txt and that you placed the spotlight.img into the correct folder. If all checks out, copy what it says in the console window and paste it on here. Thanks, all is good now, I just changed the key that you use to turn on the spotlight. Thank you anyway.
July 2, 201213 yr were going to have to work out custom mapping's for each vehicle type i to get the script error 2012-07-02 08:44:45 - ...successfully started script 'LawEnforcement.WindowExapleScript'! 2012-07-02 08:44:45 - Error in constructor of script 'LawEnforcement.spotlight': System.InvalidCastException: Conversion from string "" to type 'Single' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat) --- End of inner exception stack trace --- at GTA.ScriptThread.LoadScriptNow() Edited July 2, 201213 yr by Michael Carley [img]http://www.lcpdfr.com/cops/forum/crimestats/user/23770/sig.jpg[/img]