/md-carboost

An ox menu style carboost built for qbcore.

Primary LanguageLua

md-carboost


Mustache Scripts Discord

Features: Car Heists & VinScratching

Car Heists:

  • Objective: Spawn at specified location, purchase a laptop for 10k, and start as Class D.
  • Actions:
    1. Reach locations, boost cars.
    2. Deliver the boosted car to a drop-off.
    3. Strip doors, hood, and trunk for additional rewards.
    4. Destroy the vehicle for money and reputation.

Additional Features for Classes B-A:

  • Lockpicking is replaced with engaging minigames via third eye.
  • Chance for the car's owner to spawn with a pistol.
  • Potential threat: 2 hostile peds on a faggio may chase and attack.

VinScratching:

  • Procedure:
    1. Similar to Car Heists but with unique elements.
    2. Owner always spawns.
    3. 2 hostile peds on faggios consistently appear.
    4. While driving, encounter another 2 hostile peds on faggios.
    5. Arrive at the location, sit in your car, and wait for the VinScratching process to commence.

Dependencies :

Setup :

  • Add the following to qb-core/server/player.lua inside your existing playerdata
PlayerData.metadata['carboosting'] = PlayerData.metadata['carboosting'] or 0

  • Add the following Items to qb-core/shared/items.lua
["car_door"] 					 	 = {["name"] = "car_door", 			  	  		["label"] = "car door", 			["weight"] = 2000, 		["type"] = "item", 		["image"] = "car_door.png", 			["unique"] = false, 	["useable"] = false, 	["shouldClose"] = false, ["combinable"] = nil,   ["description"] = ""},
["car_hood"] 					 	 = {["name"] = "car_hood", 			  	  		["label"] = "car_hood", 			["weight"] = 2000, 		["type"] = "item", 		["image"] = "car_hood.png", 			["unique"] = false, 	["useable"] = false, 	["shouldClose"] = false, ["combinable"] = nil,   ["description"] = ""},
["car_trunk"] 					 	 = {["name"] = "car_trunk", 			  	  	["label"] = "car_trunk", 			["weight"] = 2000, 		["type"] = "item", 		["image"] = "car_trunk.png", 			["unique"] = false, 	["useable"] = false, 	["shouldClose"] = false, ["combinable"] = nil,   ["description"] = ""},
["mdlaptop"] 					 	 = {["name"] = "mdlaptop", 			  	  	    ["label"] = "Car Boost Laptop",     ["weight"] = 2000, 		["type"] = "item", 		["image"] = "mansionlaptop.png", 		["unique"] = false, 	["useable"] = false, 	["shouldClose"] = false, ["combinable"] = nil,   ["description"] = ""},

  • Add items images to qb-inventory/html/images

  • Modify md-carboost/config.lua to your liking and enjoy