Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
I'll explain that better.
It's easier to just 'save' some random car on the tracks where you want the train to spawn. Make sure you line the tires up with the railing... So, you should have the line "AddStaticVehicle(vehicleid, ..., ..., ...)". Where "vehicleid" is, change it to the ID of a train... You SHOULD have a train at the location you saved the other vehicle... Make sense now?
Posts: 37
Threads: 4
Joined: Aug 2010
Reputation:
0
Now when I put it when I come close to train my game crashes
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Okay, is that all you have in your GM?
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
That's your problem right there. That GM is bugged as hell...
Posts: 37
Threads: 4
Joined: Aug 2010
Reputation:
0
how to add cars to the train?
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Keep repeating the process. Just park a car behind the train and they change the "vehicleid" to the "train car" you want.