09.04.2011, 04:08
(
Last edited by leong124; 09/04/2011 at 06:12 AM.
)
Yes sometimes it will be put on the tram rail if the coordinate is not exact enough.
Still, I've no idea about the problem.
I'll try to fix that.
EDIT:
Finally I found the problem.
When you try to remove streak trailers(which is created when you create a streak) using DestroyVehicle, they will not disappear.
After that, if you create any vehicles, the warning will be shown, mentioning that the streak trailers are not deleted, and start causing the above problems.
To fix this, try to check if the vehicle is a train(or its trailer) before removing them.
Still, fixing it in the DestroyVehicle function is the best idea.
Still, I've no idea about the problem.
I'll try to fix that.
EDIT:
Finally I found the problem.
When you try to remove streak trailers(which is created when you create a streak) using DestroyVehicle, they will not disappear.
After that, if you create any vehicles, the warning will be shown, mentioning that the streak trailers are not deleted, and start causing the above problems.
To fix this, try to check if the vehicle is a train(or its trailer) before removing them.
Still, fixing it in the DestroyVehicle function is the best idea.