Ported version from https://www.gta5-mods.com/scripts/trucking-job-lua to FiveReborn https://github.com/schneehaze/Fivem_TruckerJob to https://github.com/jaylogi/esx_trucker
######### THIS IS NOT A FINAL RELEASE #########
If you want to try it out: Don't forget to put "esx_trucker" into your server.cfg"
Have fun.
- Requires es_extended and mysql-async for payouts to database
- Mission Text added into scripting
- Better destinations
- Changed trucking company start location
- Realistic job payouts
- Added missions
- Player no longer warps into truck upon spawn
- bugfixes
- corrections
- navigation approvement
- truck disappears after finishing the job
- blips fixed
- visual money (not implemented yet)
- guarantee that trailer and truck is loaded, before spawn
- small bugfixes
- missiontext added
- make sure you have MissionText activated! https://github.com/schneehaze/fivem_missiontext Or add following code on top:
RegisterNetEvent("BASE:missiontext") AddEventHandler("BASE:missiontext", function(text, time) ClearPrints() SetTextEntry_2("STRING") AddTextComponentString(text) DrawSubtitleTimed(time, 1) end)
- refactored code
- it's working now, haha
- if have arrived the destination, you can detach the trailer and gain money (mission complete)
- no hardcoded locations (only in the very begining)
-
spawn trucks
-
spawn trailers via menu
-
markers are visible
-
markers are getting invisible
-
Jesus is KING!