A fully complete job that gives you money for completion.
Elaborate
Description:
TrainJob uses TrainSportation. It currently has a example on how to use TrainSportation outside of it’s debug spawning. It doesn’t give a reward or salary, It’s just an example. If you wish to add a reward you can, although to keep doing the job you have to spawn a new train every time to trigger the job start.
Keys:
G = Spawn train/Unload Cargo while in Green circle/marker
How-To:
Goto location marked with a T(rains) on the map
Enter green circle and press G (If the circle is not visible reload the resource I had this happen to me a few times…)
Go to the front of the train, look at it, then Press F (Make sure it’s the drive-able part of the train, otherwise you might end up inside a trailer.)
Drive to the Drop locations. At each one is a green circle. Press G to unload and move to the next.
That is it currently… Hopefully this example will help.
Good afternoon, does this job have any problems working at VRPEX? because TrainSportation works normally here, but TrainJob when stopped on its marker to spawn the train in the server logs says there is no “createTrain” in TrainSportation
The only other thing I can think of is making sure when you add the resource to add TrainSportation before maybe?..
start TrainSportation
start TrainJobs
In __resource.lua for TrainSportation there should be a line like this:
export ‘createTrain’
If not add it
Edit: That is my bad! I forgot to add that line to the git repo If you redownload TrainSportation It’s fixed now, or if you want to just add the export line above and it will work!
Is there a way to help me with doing something similar to this job? Want to create a pilot job for ESX compatible and work with their bank systems and such