SA-MP Forums Archive
How to spawn trains?! - 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 spawn trains?! (/showthread.php?tid=534896)



How to spawn trains?! - Seifspeed - 31.08.2014

I want to record an npc train on my server but i am afraid that won't work cause when i try spawning a train on my server using /veh it doesn't work.
Any ideas?
Thanks in advance.


Re: How to spawn trains?! - IstuntmanI - 31.08.2014

Use AddStaticVehicle to spawn trains, not CreateVehicle.


Re: How to spawn trains?! - GenzT - 31.08.2014

Try:
To use /veh and get the train ID ..


Re: How to spawn trains?! - billy123321 - 31.08.2014

So basically you want me to make a command to spawn a train at your position?