[ESX] [PAID] Advanced Truck Robbery 🚚

Credits to the idea of: @KKaybe

Would you like your users to be able to perform epic truck robberies with important loads, as well as having great optimization and customization?

These are its main features:

  1. Very low resmon consumption: 0.0 and only about 0.5 markers.
  2. Truck and trailer spawn customization
  3. All locations fully configurable
  4. Completely randomized pickup point and trailer delivery (you can add more locations as you like)
  5. Fully customizable rewards (Compatible with OX inventory and default inventory)
  6. Integrated Discord Logs (When the robbery starts and when it ends)
  7. Real-time location of the truck for police radar

Upcoming updates

  1. Add Q-Target/OX-Target and 3D Texts

  2. I will add the option to customize the aggressive peds, that is, the vehicles they will spawn in, their aggressiveness and the weapons they will have, and also if they want to have aggressive peds in the robbery.

  3. I will add the option to choose between receiving money or items/weapons as a reward.

  4. I will add the option for the truck spawn to be random (if you wish).

Config
Config = {}


Config.Ultrob = 0 -- DON'T TOUCH
Config.Cooldown = 180 --in seconds, Time for next theft
Config.Hidestolentruckblip = 60000 --in miliseconds, time the thief's location on the police gps will last 
Config.Timeupdatingblip = 4000 -- in miliseconds 
Config.PoliceJob = 'police'
Config.Police = 0 --number of police officers who must be connected in order to initiate a robbery
Config.Truckuse = "Hauler"
Config.Traileruse = "tr4"

----BLIP
Config.EnableBlip = true
Config.Blip = {
    sprite = 477,                                   -- Blip Sprite.
    color = 2,                                      -- Blip Color.
    scale = 0.7,									-- Blip Scale.
	name = "Truck Robbery"                                     
}	

--Markers 
Config.Size   = {x = 3.25, y = 3.25, z = 0.1}
Config.Color  = {r = 0, g = 178, b = 111}
Config.Type   = 1

----REWARDS
Config.DirtyMoney = true --False if you want Money normal 
Config.DirtyMoneyItem = true -- Set True if you use OX Inventory or have any inventory where you use black money or money as an item
Config.Money = '5000' --amount


Config.Peds = {
		Pos = {x = 1665.90, y = 0.27, z = 172.77, h = 94.97}, 
		Type  = 'g_m_m_mexboss_01',	
} 

Config.Truck = {
	Pos = {x = -335.7916, y = -1296.801, z = 31.39909, h = 89.46}  
}

Config.Trailer = {
	Ubi1 = { 
	Pos = {x = -402.49, y = -2279.98, z = 7.60, h = 357.57} 
    },
	Ubi2 = {
	Pos =  {x= 573.37, y=-2334.65,z= 5.90, h = 357.38} 
    },
	Ubi3 = {
	Pos =  {x= 1149.099, y=-3282.671,z= 5.90, h = 348.80} 
    },
	Ubi4 = { 
	Pos =  {x= 351.64, y=-2533.02,z= 5.70, h = 106.01} 
	},
	Ubi5 = {
		Pos = {x= -307.3673, y= -2574.192, z = 6.000293, h = 243.52} 
	}
}
Config.Delivery  = {
	Ubi1 = {
		Pos = {x = -448.7151, y = 6350.606, z = 11.61004}
	},
	Ubi2 = {
		Pos = {x= 291.388,y = 6789.13,z = 15.69} 
	},
	Ubi3 = {
		Pos = {x = 3708.874, y = 4517.349, z = 20.30386}
	},
	Ubi4 = {
		Pos = { x = 2203.332, y=  5569.678,z =  53.98449}
	},
	Ubi5 = {
		Pos = {x = 512.2437, y=  4258.704, z = 53.55187}
	}, 
	Ubi6 = {
		Pos = {x = -102.8305, y = 2796.781, z = 53.36689}
	},
}


Config.Language = {
	Start = "Press ~p~[E]~w~ to start a truck robbery.",
	Mission = "This mission is only for the brave, I see you are capable of this, go to the location marked on your gps.",
	NoPolice = "Not enough police to be able to initiate the robbery",
	Truck = "Truck",
	Trailer = "Trailer",
	Mission2 = "Okay, you have the truck, now you must go to the location and pick up the trailer.",
	Mission3 = "Take care of the guards, the trailer and the cops, then get to the point I left you on the gps and you will receive a reward.",
	Wait = "There is already a robbery in progress",
	Deliverypoint = "Delivery point",
	MsgPolice = "Truck with cargo reported stolen, units to be directed to gps tracked location",
	Delivertruck = "Press ~p~[E]~w~ to deliver the truck with the trailer.",
	YoTake = "You take: ",
	Coin = "$"
}

--For my Spanish-speaking customers :

-- Config.Language = {
-- 	Start = "Presiona ~p~[E]~w~ para comenzar un robo a camión.",
-- 	Mission = "Esta misión es solo para valientes, veo que eres capaz de esto, ve a la ubicación marcada en tu gps",
-- 	NoPolice = "No hay suficientes policias para poder iniciar el robo",
-- 	Truck = "Camión",
-- 	Trailer = "Trailer",
-- 	Mission2 = "Bien, ya tienes el camión, ahora debes ir a la ubicación y recoger el trailer",
-- 	Mission3 = "Encargate de los guardias, del trailer y de los policias, luego llega al punto que te deje en el gps y recibiras una recompensa",
-- 	Wait = "Ya hay un robo en progreso",
-- 	Deliverypoint = "Punto de entrega",
-- 	MsgPolice = "Se reporta el robo de un camión con carga, unidades dirigirse a la ubicación rastreada con gps",
-- 	Delivertruck = "Presiona ~p~[E]~w~ para entregar el camión con el trailer",
-- 	YoTake = "Tomaste: ",
-- 	Coin = "$"
-- }

Video

Buy: Escrow | Source Code

|-----------------------|----------|
| Code is accessible | Yes|
| Subscription-based | No |
| Lines (approximately) | 400 |
| Requirements | ESX |
| Support | Yes |

1 Like

Nice script, one of the best script