Stable3.10.0
Custom Plate Renderer Support
This update adds two methods of overwriting plates for specific vehicles indexes (not individual vehicles yet), passing custom materials, colours and paths to the renderer.
Calling PLATE:RegisterRenderer(vehicleID, rendererData) will overwrite all plate data for a specific model. Hooking GetCustomPlateRender provides access to vIndex, exempt status and plates data, and can return an override.
renderData (and the optional return from GetCustomPlateRenderer) is {Path = "path/to/material", [Material = Material(Path)], [Color = Color(?)]}. If Material isn't present, Material(Path) is used as default. If Color isn't present, GetPlateColourFromPath is called, and that result is used.
For more information, see the documentation.