Plates - TOP-Scripts/STORE-SCRIPTS GitHub Wiki

![tebex_plate](https://dunb17ur4ymx4.cloudfront.net/wysiwyg/1025755/eb09bbda9882e415d0ab9fc1bd9f3ca5080cd02e.PNG)

  1. This script is used to take and install Vehicle Plates.
    1. You keep the Plates even after a server restart, install and take them back as many times you want.

![tebex_plate2](https://dunb17ur4ymx4.cloudfront.net/wysiwyg/1025755/deafd1aa40b92743b130e19cafba03c539bc3866.PNG)

  1. Installation
    Add the item to your Server Database if you are using ESX, or add a line like:

`[“licenseplate”] = {
[“name”] = “licenseplate”,
[“label”] = “Plate”,
[“weight”] = 1000,
[“type”] = “item”,
[“image”] = “licenseplate.png”,
[“unique”] = true,
[“useable”] = true,
[“shouldClose”] = true,
[“combinable”] = nil,
[“description”] = “Vehicle Plate”},
`
to your QBus Server config file.

In your inventory, app.js rearch for something like…

} else if (itemData.name == "stickynote") { $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html("<p>" + itemData.info.label + "</p>"); } else if (itemData.name == "moneybag") { $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html( "<p><strong>Amount of cash: </strong><span>$" + itemData.info.cash + "</span></p>" ); }

— add
else if (itemData.name == "licenseplate") { $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html("<p>" + itemData.info.plate + "</p>"); }

— change to look like

} else if (itemData.name == "stickynote") { $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html("<p>" + itemData.info.label + "</p>"); } else if (itemData.name == "licenseplate") { $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html("<p>" + itemData.info.plate + "</p>"); } else if (itemData.name == "moneybag") { $(".item-info-title").html("<p>" + itemData.label + "</p>"); $(".item-info-description").html( "<p><strong>Amount of cash: </strong><span>$" + itemData.info.cash + "</span></p>" ); }

— This will enable you to see what Plate it is with mouse-over in your inventory

⚠️ **GitHub.com Fallback** ⚠️