Module core.plugins.licenseplates.sh_init
License Plates Shared
Module Overview
Functions
| RegisterVehiclePlates(vname, ...) | Register a vehicle with the license plates system. |
| GetVehiclePlates(vname) | Get a set of vehicle plates from the registered name. |
| PLATE:RegisterPlate(name, ...) | Helper function, taken from L2 plates. |
- RegisterVehiclePlates(vname, ...)
-
Register a vehicle with the license plates system.
Parameters:
- vname The name to register the vehicle under.
- ... Either string (registered name to copy) or vararg list of plates to register.
- GetVehiclePlates(vname)
-
Get a set of vehicle plates from the registered name.
Parameters:
- vname The name to check again.
Returns:
-
list Numeric list of license plate positions.
- PLATE:RegisterPlate(name, ...)
-
Helper function, taken from L2 plates. Allows direct C+P of those values between the scripts.
Parameters:
- name The name to register the vehicle under.
- ... Either string (registered name to copy) or vararg list of plates to register.