# Framework Integration

{% tabs %}
{% tab title="QBCORE" %}
Add the following items into `qb-core/shared/items.lua` if not there already

```lua
['fakeplate'] 					 = {['name'] = 'fakeplate', 			  	  	['label'] = 'Fake Plate', 				['weight'] = 100, 		['type'] = 'item', 		['image'] = 'fakeplate.png', 			['unique'] = true, 	['useable'] = true, 	['shouldClose'] = true,   ['combinable'] = nil,   	['description'] = 'The cops will never know.'},

['screwdriverset'] 				 = {['name'] = 'screwdriverset', 			    ['label'] = 'Toolkit', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'screwdriverset.png', 		['unique'] = false, 	['useable'] = true, 	['shouldClose'] = true,    ['combinable'] = nil,   ['description'] = 'Very useful to screw... screws...'},

['vanityplate'] 				 = {['name'] = 'vanityplate', 			  	  	['label'] = 'Vanity Plate', 			['weight'] = 100, 		['type'] = 'item', 		['image'] = 'vanityplate.png', 			['unique'] = true, 	['useable'] = true, 	['shouldClose'] = true,   ['combinable'] = nil,   	['description'] = 'Custom vehicle plate'},
```

{% endtab %}

{% tab title="QBX" %}
No additional framework setup needed
{% endtab %}

{% tab title="ESX" %}
Make the following edits inside of `es_extended/client/functions.lua`&#x20;

Locate function `ESX.Game.SetVehicleProperties`&#x20;

Locate `if props.plate ~= nil` if/then statement and replace with the following

```lua
if props.plate ~= nil then
    if props.fakeplate then 
        SetVehicleNumberPlateText(vehicle, props.fakeplate)
    else
        SetVehicleNumberPlateText(vehicle, props.plate)
    end
end
```

Locate `ESX.Game.GetVehicleProperties`&#x20;

Locate `plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)),` and replace with the following

```lua
plate = (Entity(vehicle).state.VehicleProperties and (Entity(vehicle).state.VehicleProperties.fakeplate ~= nil and (Entity(vehicle).state.VehicleProperties.plate and Entity(vehicle).state.VehicleProperties.plate or ESX.Math.Trim(GetVehicleNumberPlateText(vehicle))) or ESX.Math.Trim(GetVehicleNumberPlateText(vehicle))) or ESX.Math.Trim(GetVehicleNumberPlateText(vehicle))),
```

On the line directly after what you just replaced add this

```lua
fakeplate = Entity(vehicle).state.VehicleProperties and (Entity(vehicle).state.VehicleProperties.fakeplate ~= nil and Entity(vehicle).state.VehicleProperties.fakeplate or nil) or nil,
```

{% endtab %}
{% endtabs %}
