client
SetVehicleNumberPlateText
FiveM client native documentation with a Lua example.
Summary
Sets the license plate text on a vehicle. Used by car shops, garages, and admin tools to give vehicles custom or owner-linked plates.
Returns
void
Parameters
vehiclenumberThe vehicle handle.plateTextstringThe plate text (typically up to 8 characters).Example
local veh = GetVehiclePedIsIn(PlayerPedId(), false)
SetVehicleNumberPlateText(veh, 'VIPER1')Common pitfalls
- Plates are limited to 8 characters — longer strings get truncated.
- On networked vehicles, set the plate on the entity owner or sync it so all clients see the same plate.
Related natives
Related guides
FiveM scripts done right
Optimized, dual-framework scripts for QBCore and ESX from Viper Development — escrow protected, delivered instantly to your Cfx portal.
Browse Scripts →