Client-Side

Client Exports

Below are all the useful exports that you can use in other resources, be sure to read their descriptions.


generatePlate

Generating a license plate, you can use this export in your other resources in which you need to give a different license plate than the one generated by GTA by default. Export will return the license plate string

---@param plateFormat: You can use the option to enter a custom format, but you can also leave the generation of the license plate according to the specified format in config vms_vehicleshopV2.

exports['vms_vehicleshopV2']:generatePlate(plateFormat)

-- Examples:
local plate = exports['vms_vehicleshopV2']:generatePlate('12 AB 34')
local plate2 = exports['vms_vehicleshopV2']:generatePlate()

Last updated