Plate Format
Requires Dealerships v1.1.5 or newer
When players purchase a new vehicle, you can customise the vehicle license plate that will be generated for them. Your car plate can have letters, numbers, and spaces. It should be up to 8 characters long.
How to Write Your Plate Format
Use
A
for any random letter.Use
1
for any random number.Want a specific letter or number always to show up? Put a
^
before it.
Examples
All Random Letters:
AAAAAAAA
gives something likeGHTPAXZQ
.Mix of Letters, Spaces and Numbers:
AA11 1AA
makes something likeGH49 8KJ
.Fixed Letter or Number:
^Z123 A^B1
always hasZ
at the start andB
in the second part, likeZ456 XB4
.For example in the UK, you would have a fixed year section, and therefore you could use
AA^2^4 AAA
-> which would give something likeMA24 UAW
.
Quick Steps
Open the
config.lua
fileFind
Config.PlateFormat
Change it using
A
for letters,1
for numbers, and^
for fixed characters.
Customisation
If you're a developer and would like more control, the function is open source (Framework.Server.VehicleGeneratePlate
) and can be found in framework/sv-functions.lua
Last updated