Just tested the script myself and noticed this aswell, however I quickly understood that it is intentional, you are not supposed to drive the truck back because you still have to spawn a new one with a new trailer. What is possible though, is that you can still use this truck to get back to the truck hq and script in a marker that despawns this vehicle, that way you can just buy a new load. Ill get into this tomorrow and see what I can code
Oh alright, I haven’t had the opportunity to test with Essentialmode 3, because I myself got the knowledge with MySQL and not CouchDB, but that’s for another good time!
I don’t know if it will work with EsM3, in-case it doesn’t, I hope someone can help you out
I can’t exactly remember the line that you need to change in the client.lua to make it update the money. But I can throw a english translated file in a minute
something in that pastebin broke it as the marker isn’t on the map even when set to 67 and can’t activate when stood at location. will revert back and try to translate.
yeah that fixed it, after the 1st delivery, i got paid, i tp back to truck pick up for another job and it doesn’t spawn, it takes me through all the steps but no truck.
Can’t seem to reproduce the error. Just had a bunch of people on my server to test and see, if there was any timer on it, and they were able to do it instantly after delivery. - Also with the version uploaded on pastebin.
Just so people are up to date with this. The original at the top is in english but doesn’t pay out, the one posted by Cameron works and pays out but is in danish and camerons version using the pastebin bugged out for me and i couldn’t get a job after the 1st one.
Well to sort out my issue i put the original truckerjob.lui and camerons truckerjob.lui side by side and pasted the english over any danish. All seems fine, jobs are paying out and i can do one job straight after the next.