05.06.2010, 03:31
How can i get a train to stop when it enters a checkpoint, TogglePlayerControllable(0); Dosen't stop a train and i think SetVehicleVelocity dosen't work on trains.
Basically what i'm trying to do is make a train driving job and you stop at each train stop now i want the train to stop when it enters the checkpoint and not move anymore till they can go to the next stop.
Everything i have tried dosen't seem to stop the train toggling player controlable the train keeps moving but you can't control it.
I want the train to stop instantly intill they're free to move again.
Basically what i'm trying to do is make a train driving job and you stop at each train stop now i want the train to stop when it enters the checkpoint and not move anymore till they can go to the next stop.
Everything i have tried dosen't seem to stop the train toggling player controlable the train keeps moving but you can't control it.
I want the train to stop instantly intill they're free to move again.