Code stops working when formating text.
#3

I believe the problem is on GetVehicleName due to a possible runtime error: Index out of bounds.

Using crashdetect plugin can let you know what caused the code from stopping (most of the times).

If that is the problem, then check if the vehicleid is valid (the modelid between 400 and 611) and I'm sure it won't give any runtime errors. I've seen that many times happens.

I also agree with CutX - switch is MUCH faster!
Reply


Messages In This Thread
Code stops working when formating text. - by seanny - 20.12.2013, 16:26
Re: Code stops working when formating text. - by CutX - 20.12.2013, 18:13
Re: Code stops working when formating text. - by Konstantinos - 20.12.2013, 18:28
Re: Code stops working when formating text. - by seanny - 21.12.2013, 10:25
Re: Code stops working when formating text. - by Konstantinos - 21.12.2013, 10:38
Re: Code stops working when formating text. - by seanny - 21.12.2013, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)