20.12.2013, 18:28
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!
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!