Tuna's Truck Job [FREE] [Power Grid Compatible] [ESX]

Thank’s for checking out my latest release ! I hope you enjoy :fish: :heart:

:truck: TunasTruckJob - A simple ESX truck script for truckers who like trucking :truck:

PREVIEW

Watch a preview here: :eyes: :tv:

DOWNLOAD

Download here: (GitHub) :heart: (v1.0.2)

----------------------------------------------------:truck:-REQUIREMENTS-:truck:----------------------------------------------------
1.) ESX (No job required)
2.) progressbars

TO GET STARTED
1.) Simply upload TunasTruckJob to your /resource folder
2.) Add ensure TunasTruckJob to your server.cfg
3.) Adjust uniforms in utils.lua (refer to video to honor my existence :heart: )
4.) If done correctly, you’ll be off trucking ! :fish:

FEATURES
1.) Two locations to begin work (LS + Paleto Bay)
2.) 6 Unique jobs with multiple steps, decent animations
3.) POWER GRID COMPATIBLE → Grid deliveries adds life to power grid (easily toggleable)
4.) Approx. 0.01 → 0.10ms cpu & 0.10 - 1.1% memory usage from Idle → Working

:truck: :articulated_lorry: Version 2 is now available !

OTHER RELEASES

Hope you enjoy! :fish: Be sure to give this post a like and follow my channels for more releases :heart: :point_right:

19 Likes

I will be checking it out thank you sir for another great release for free

1 Like

Updated; Thanks for bringing that to my attention :+1:

Another nice release Tuna :fire: :fire:

2 Likes

^^ corrected the download link; Thank you :slight_smile:

Dope and FREE! Thanks for the release to the community!

2 Likes

Great Script, thanks for release :wink:

One problem :
The menu did not auto close when we don’t choose a delivery and remain open.

1 Like

Glad you like it ! If you like the script; check out my power job if you havent already :slight_smile:

Thanks for the kind words !

I will look into it :slight_smile:

I love that power job. We’ve basically spliced it into our city worker job. So every job the city employee does, heals the grid a little.

3 Likes

Awsome ! Glad to hear you’re enjoying the script :heart: :fish:

v1.0.1 is now available :slight_smile:
→ Added exit menu option as well as some minor adjustments

please redownload the repository :heart:

3 Likes

woow fantastic work bro

1 Like

Hey,

oh my gosh, i really love all of your works tuna ! ^^
I made a little “command” for the job.

Normally, when people die or truck gets destroyed (on every truckerjob), they need to relog to stop the job and remove the blip.

I create commands for the users to stop the job manually. So i did it here to. If someone wants to use it, here is the code (command is “stoptruck” (you can change that, i just have many stop commands, so i needed to use this xD)

Serverside (payment lua) - you can change the name of the event to your liking

RegisterCommand("stoptruck", function(source, args) 
TriggerClientEvent('gw:stoptruck', source)
end)

Clientside: - you can change the notification to your needs, i use pnotfiy in case someone try to execute the command when he is not on a route. you can use the common ESX.Shownotification event too.

RegisterNetEvent('gw:stoptruck')
AddEventHandler('gw:stoptruck', function()
	  local p = PlayerPedId()
       local v = GetVehiclePedIsIn(p)
	if onJob then 
	onjob = false
  
	sC3 = nil
	ClearAllBlipRoutes()
	RemoveBlip(mB)
	RemoveBlip(mB3)
	ESX.Game.DeleteVehicle(v)
	onJob = false
	npcJob = false
	ccJob = false
	ccJob2 = false
	bcJob = false
	luxJob = false
	luxReturn = false
	pAnim = nil
	pCoords = nil
	xlJob = false
	lsB = false
	jobMenu = nil
  else
  
 			TriggerEvent("pNotify:SendNotification", {
				text = "<h4 class='' style='margin:0;padding:0;'>Trucker</h4><div><br>Du fährst gerade keine route!</div>",
				type = "error",
				queue = "lmao",
				timeout = 3000,
				layout = "bottomCenter"
			})
   
  end 
end)

Greetings :slight_smile:

1 Like

Thank you very much for the kind words Soubisan !

I also really appreciate you sharing that ! Hope the rest of your day is a great one :fish: :slight_smile:

Thank you ! :heart: :fish:

noticed youll want to also include

armyJob = false
armyReturn = false

:fish: :heart:

havent had the chance to test this out; Ill let you know :slight_smile: Thanks again

So when you finish a delivery how do you change the clothes back to what we were wearing before?

that is something you would need to implement :slight_smile: whether players change back by clothing store; outfits etc… My personal preference is to leave the members in their work clothes until they go to a suitable place to change; However I have shared the code for others to improve and better fit their needs;

Thanks for checking out my work :fish::heart:

1 Like

Yeah since this doesnt require a job in the job center its more of an activity for me so I just disabled it, also what is the reason for this number when you deliver something?
image