SA-MP Forums Archive
How to fix train to my map?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: How to fix train to my map?? (/showthread.php?tid=265361)



How to fix train to my map?? - davve95 - 30.06.2011

Hi!

I'm wounder how to add a train to my map/My server... Its don't works to add it in Mta??


Re: How to fix train to my map?? - Hiddos - 30.06.2011

You spawn a train on the tracks (Using AddStaticVehicle) at a random position. Then you go in-game and search for your train. Once you find it, drive it somewhere you want it to spawn. Then type /save and check your 'savedposition.txt' file in your "GTA San Andreas User Files > SA-MP" folder.


Re: How to fix train to my map?? - iPLEOMAX - 30.06.2011

> Make a train using CreateVehicle or AddStaticVehicle.
> Code a simple vehicle goto command, like /vgoto.
> use the cmd, enter the train and /save as hiddos said.




Re: How to fix train to my map?? - Steven82 - 30.06.2011

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
> Make a train using CreateVehicle or AddStaticVehicle.
> Code a simple vehicle goto command, like /vgoto.
> use the cmd, enter the train and /save as hiddos said.

You have no idea what your talking about. It clearly states on the wiki trains can ONLY be added with AddStaticVehicle | AddStaticVehicleEx.


Re: How to fix train to my map?? - davve95 - 01.07.2011

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
You spawn a train on the tracks (Using AddStaticVehicle) at a random position. Then you go in-game and search for your train. Once you find it, drive it somewhere you want it to spawn. Then type /save and check your 'savedposition.txt' file in your "GTA San Andreas User Files > SA-MP" folder.
Thank you so much!


Re: How to fix train to my map?? - justsomeguy - 01.07.2011

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
You spawn a train on the tracks (Using AddStaticVehicle) at a random position. Then you go in-game and search for your train. Once you find it, drive it somewhere you want it to spawn. Then type /save and check your 'savedposition.txt' file in your "GTA San Andreas User Files > SA-MP" folder.
Hmm i always just whent to sf station then created the vehicle then it spawned on the track of sf station, then i would took it and save it.