SA-MP Forums Archive
[HELP] Train verse - 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: [HELP] Train verse (/showthread.php?tid=639348)



[HELP] Train verse - spyro9696 - 15.08.2017

Through the AddStaticVehicleEx function, I created a train, but I can't choose its verse.
It is spawned in a only verse (opposite to that of the normal game). I changed the angle parameter, but nothing...
It is possible to choose the verse I want?


Re: [HELP] Train verse - JasonRiggs - 15.08.2017

More explanation please?


Re: [HELP] Train verse - spyro9696 - 15.08.2017

This is the function I used for the train spawn, and 0.0000 is the angle parameter


Quote:

AddStaticVehicleEx (538, 2864.8384, 1308.6943, 12.0217, 0.0000, -1, -1, 15);

Although I modify the angle parameter, the train is always spawned in the same direction.


Re: [HELP] Train verse - JasonRiggs - 16.08.2017

I guess the train's angle cannot be changed, Unless if you made it something like 180.0000 or smth


Re: [HELP] Train verse - spyro9696 - 16.08.2017

I tryied, but nothing.


Re: [HELP] Train verse - JasonRiggs - 16.08.2017

Then it might be a Rockstar issue, maybe they created the train to not be reversed in another angle..


Re: [HELP] Train verse - Sew_Sumi - 16.08.2017

If anything the feature was removed from SAMP when it was 'fixed' for the floating train bug, maybe...

But I can't remember for sure ever seeing a train facing to go any way other than clockwise... LS/SF/LV.