SA-MP Forums Archive
Tram and Train - 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: Tram and Train (/showthread.php?tid=281557)



Tram and Train - BGMike - 06.09.2011

First question: Why when I spawn a Tram in railroads in SF I can't drive the Tram, what to do ?
Second question: Can be driven Brown Streak (Train) in railroads in SF ?


Re: Tram and Train - Kingunit - 06.09.2011

You can drive trains in SA:MP. Correct me if I'm wrong


Re: Tram and Train - [MWR]Blood - 06.09.2011

Quote:
Originally Posted by Kingunit
View Post
You can drive trains in SA:MP yet. Correct me if I'm wrong
Sure you can.
You can't spawn them in game.
If you noticed, it would print 'only add trains with addstaticvehicleex' (or addstaticvehicle), don't remember well.


Re: Tram and Train - =WoR=Varth - 06.09.2011

https://sampwiki.blast.hk/wiki/AddStaticVehicleEx


Re: Tram and Train - Babul - 06.09.2011

a brownstreak needs to be spawned using the AddStaticVehicle, it also creates the trailers (model 570, use /dl to see them). spawning them like any other car, using CreateVehcile, is not (yet) possible. when you spawn a tram (possible ingame since its 1 single vehicle i assume) close to the rail and save its position, even in SF btw, then you can replace the id 449 (tram) by the brownstreak ( 538 ) and you have a clear ready-to-use train ^^