SA-MP Forums Archive
Adding a train to my DB - 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 my DB (/showthread.php?tid=293836)



Adding a train to my DB - Derryd - 30.10.2011

How can I add a train to my vehicles database?

Because the train also adds like 3-4 extra vehicles when you spawn it, and this fucks up the order of cars.


Re: Adding a train to my DB - Zh3r0 - 30.10.2011

What do you mean with those 3 extra vehicles? The wagons?


Re : Adding a train to my DB - decondelite - 30.10.2011

One BASIC thing: trains can NOT be added/deleted dynamically.
You HAVE to create them with AddStaticVehicle in OnGameModeInit.