If you like my work and want to support me :
You can reach me at Hi-Dev
Update : https://youtu.be/OC6_ZNCXtIo
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.
Copy the next image to your inventory\html\images folder
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>");