SA-MP Forums Archive
adding a train to your server - 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: adding a train to your server (/showthread.php?tid=385972)



adding a train to your server - Simplyfrag - 18.10.2012

1st person to comment to tell me how to add the train on my server i will give you +Rep



Thanks guys and the SA-MP TEAM


Re: adding a train to your server - CreativityLacker - 18.10.2012

Not for the rep but just for general info and maybe I'm wrong -

Quote from CreateVehicle SAMP Wiki -
Important Note: Trains can only be added with AddStaticVehicle and AddStaticVehicleEx.

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

Try that, I've never tried adding trains, but I think if the coords aren't exact, it'll teleport the train to the nearest railway tracks where the train can be driven. Not sure though yet.


Re: adding a train to your server - Simplyfrag - 18.10.2012

god knows m8 i dont think its goes like that tho but thanks for the info m8 and stuff