Car Heists:
- Objective: Spawn at specified location, purchase a laptop for 10k, and start as Class D.
- Actions:
- Reach locations, boost cars.
- Deliver the boosted car to a drop-off.
- Strip doors, hood, and trunk for additional rewards.
- 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:
- Similar to Car Heists but with unique elements.
- Owner always spawns.
- 2 hostile peds on faggios consistently appear.
- While driving, encounter another 2 hostile peds on faggios.
- Arrive at the location, sit in your car, and wait for the VinScratching process to commence.
- 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