Price
UnknownA script by AntwanR942
Price
UnknownI have often wanted to make my own trains in FiveM whether it be re-arranging existing trains or use custom train models; however, editing a trains.xml file can be tiresome and time-consuming. This is why I decided to create this resource - a train creator which allows you to edit existing train configurations and make new ones on the fly and save your changes to a trains.xml file that you can actually use.
This resource also includes an example script that shows how to spawn and control these trains after you have made your edits and so on. Although please note that a server restart is needed for changes to take effect.
(Link to video if embed does not work)
Here is a moderately detailed tree diagram of the menu.
Train Constructor
├── Create New Train
├── Train Config #1
│ ├── Train Attributes
│ ├── ...
│ ├── Train Spawn Information
│ └── Edit Carriages
│ ├── Create New Carriage
│ ├── Carriage #1
│ │ ├── Carriage Attributes
│ │ └── ...
│ └── ...
├── ...
└── Save Changes to file
Additionally, this resource uses a simple ace permission (Train.use) to restrict anyone from opening the menu if you plan on using this resource in a live environment.
I.e. if you would like only admins to be able to use the menu then add the following to your server configuration file:
add_ace group.admin Train.use allow
If you wish to purchase or want some more information please look here at my Tebex store page.
See what others are saying about this script.
Share your experience and help others.