This is a modification of “TruckerJob” so i do not take full credit for this!!!
This script was originally made by @Marcio_NL
This script is a delivery job for ESX, you can drive arround and do some deliveries.
This is a work on progress so i will change some stuff in the future like the outfit that the script uses for work
Requeriments:
Essentialmode
Es_Extended
How to install:
Put the folder into [ESX] folder;
Add “start esx_deliveryjob” on your server.cfg;
Add “esx_deliveryjob.sql” to your database.
How to use:
Just go to the blip on the map change your clothes in the yellow marker then choose a car that you want to drive. Easy as that!
Configuration:
You can easly change the salary in your database or even on the sql file itself before add him to the database.
You can also change the name of the grade, the default one is “Employee” if you want to change that just do the same thing that you do to change the salary.
As you do not fully own this version, please credit/mention the original author and link to the original project, considering you have permission to do so.
But the sql file is there xd
It says “esx_deliveryjob.sql”, or maybe you will find it as an note pad file so you just copy what is inside and paste into the database easy xd
Hello! I would like to help with ESX DeliveryJob resource. I am new to ESX overall. After putting it into resource folder and server.cfg, I’ve “started” sql order and when ingame, I can see only empty building (Walker transport or something). What I did wrong, please?
Do you know if there is a way to make it so you do not loose the van at the last point? only reason i say this is because after you deliver the last one and it deletes the van you have no vehicle to get back to get more missions or to get a vehicle, thanks in advance
At line 370 in client it deletes the vehicle. You can remove it there but then you loose the option of deleting the vehicle altogether. Best bet is to look where the function is called then go from there
is there anyway i could add like a despawner for the vehicle back where you original get the work clothes on? therefore after they do their delivery and go to get more missions they can de-spawn the car? i also appreciate the reply
I have a question and I’ve tried to fix it myself. But in your code it will spawn x2 vehicles. How do I fix this? I’ve tried taking one away and it just breaks the code. Also I like your script. Keeps sh**lords from camping cash out spots.
drawTxt('Press ~g~E~s~ to get your~b~ vehicle', 2, 1, 0.5, 0.8, 0.6, 255, 255, 255, 255)
if (IsControlJustReleased(1, 38)) then
TriggerServerEvent('delivery:checkjob2')
end
end
else
drawTxt('Press ~g~E~s~ to get your~b~ vehicle', 2, 1, 0.5, 0.8, 0.6, 255, 255, 255, 255)
if (IsControlJustReleased(1, 38)) then
TriggerServerEvent('delivery:checkjob2')
end
end
else
Also I added an extra job to your script if you want to add it to your collection. Can’t figure out how to despawn the vehicle after I don’t want to do the job anymore.
Hi guys, i would like to make little different. If i change car to Traileri, how to make check points work if the trailer is in it. I know code says that ped has to be in vehiscle, but what if its trailer?