How to set trains angle? The locomotive spaws backwards. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to set trains angle? The locomotive spaws backwards. (
/showthread.php?tid=434199)
How to set trains angle? The locomotive spaws backwards. -
[DOG]irinel1996 - 01.05.2013
Hello, I'm adding a train and I have a problem with it. It doesn't spawn as I want, I mean the angle isn't the good one. The locomotive spawns backwards. Any idea?
OK, look:

The red arrow is its current sense, but I want it backwards, green arrow's sense.
Thank you.
Re: How to set trains angle? The locomotive spaws backwards. -
Goldilox - 01.05.2013
When you get the codes of the train, I mean the coordinates, is your facing angle to the angle you want train to be?
Respuesta: How to set trains angle? The locomotive spaws backwards. -
[DOG]irinel1996 - 01.05.2013
Yes, it is. I take the good angle when I save the coordinates.
Re: How to set trains angle? The locomotive spaws backwards. -
thefatshizms - 01.05.2013
Place it on the other track. Each track is "one way" meaning you can only go one direction.
Respuesta: How to set trains angle? The locomotive spaws backwards. -
[DOG]irinel1996 - 01.05.2013
I could place it on the rails I want, and correct angle. Thank you both for trying help me. I just took other coordinates a little bit farther from the tunnel and it worked.
Solved.