ik-vehcontrol

If you like my work and want to support me : ko-fi

You can reach me at Hi-Dev

Preview

https://youtu.be/i61r_mrW_8A

Update : https://youtu.be/OC6_ZNCXtIo

Explanation

With this resource you can show mod information of an owned car.
Mechanics can send the report to a nearby player for money. Money will go to management funds of the mechanic.

image

Installation

Copy the next image to your inventory\html\images folder

car-report

Add the next item in your qb-core\shared\items.lua file:

	["car-report"] 			 = {["name"] = "car-report", 			["label"] = "Car Report", 	   			["weight"] = 50, 		["type"] = "item", 		["image"] = "car-report.png", 			["unique"] = false,   	["useable"] = true,   	["shouldClose"] = true,   	["combinable"] = nil,   ["description"] = "Vehicle modification report..", },

Add the next lines in your inventory\html\js\app.js right after labkey if you want to show the item information in your inventory :

} else if (itemData.name == "car-report") {
            $(".item-info-title").html("<p>" + itemData.label + "</p>");
            $(".item-info-description").html("<p><strong>Vehicle: </strong>" + itemData.info.vehname + "</p><p><strong>Plate: </strong>" + itemData.info.plate + "</p>");

image