Hello Dear CFX user, im Waschmaschvanlu or ludaro im new to lua/fivem coding and worked myself on a Truckerjob that im gonna release publicly and work upon! <3
About the script:
im german, so dont mind if there are spelling mistakes or problems in the resource from the english side, the code shouldnt be looked upon aswell its very “makeshift” and i learned alot from it and will recode it upon further editing the resource still runs at 1ms idle in resmon so its okay.
this resource is only released for me to learn how to release, and how it works, and to get alot of feedback/tips any ideas or suggesstions will be worked upon and im happy if you reply to this thread and tell me what u think about it even if its mostly negative, learning by doing! <3
Support
If you need any help, just contect me on my discord:
Features:
The Features include:
Making your own jobs for the Truckers (config.lua)
Getting your Own Truck (with leasing if you dont have a truck bought if wanted)
i did read the cfx post FAQ and im sure ive got everything covered except the optimized code, but im gonna fix it as soon as i can <3
everything is changable in the config
Showcase video:
CFX is telling me to Answer this if im selling my resource but Im not Selling a resource, but filling out some stuff about my resource is still awesome so here ya go
** SCRIPT ISNT WORKING RIGHT NOW WILL BE HEAVILY RECODED UNTIL NEXT WEEK (12.09.2022)**
[ script:TruckerJobL] Error loading script server.lua in resource TruckerJobL: @TruckerJobL/server.lua:110: attempt to index a nil value (global ‘ESX’)
[ script:TruckerJobL] stack traceback:
[ script:TruckerJobL] @TruckerJobL/server.lua:110: in main chunk
i have never worked with qbcore before, it should be pretty easy if u want to do it yourselfs, its just swapping out the notifications (which are already modular) and the ESX.Game.SpawnVehicle, im on it chef! but dont wait for it, it can take me a couple weeks because ive never worked with qb before <3
Oh yeah! i got the answer now, its my bad, it will be fixed now, im pushing an update now
go into your fxmanifest, and remove line 11 (and the “,” on line 10)
this is because i used esx legacy, and this doesnt work with legacy the whole script should work fine tho
Heyo! just to tell you, the script works fine now, just download the update on the github, it was a mistake from my side, im sincerely sorry that this happened! <3 just update it and run the update.sql thats included, thank you for reporting the bug! <3