UM Custom Plate


Description

DUI-based license plate customization script. Lets players put custom text (with color selection), images, plate removal/blackout and permanent plate changes on their vehicles

Usage

  1. Walk up to the rear plate of a vehicle you own.
  2. Aim at the plate with your target key (default ALT) and click “Edit Plate” — the menu only opens for the vehicle’s owner.
  3. From the menu:
    • Custom Text (DUI) — write anything on the plate, pick text and background colors from the color picker
    • Change Default Plate — permanently changes the vehicle’s real plate (rejected if the plate is already taken)
    • Remove Plate — removes the plate on vehicles with a plate holder mod, otherwise blacks it out
    • Add Image to Plate — https image link from an allowed site
    • Align Plate — arrows to move, SHIFT+arrows to resize, CTRL+arrows to tilt, scroll for depth; ENTER saves
    • Reset — restores the original plate
  4. Custom text/image plates slide in when the engine starts and slide out when the engine is turned off or you move out of range.

Roadmap

  • Evaluate switching to AddReplaceTexture-based rendering — the alternative approach replaces plate textures (vehshare/plate01..05, yankton_plate) with DUI content. It was tried and has known issues: since replacements are global, NPC vehicles using the same plate index also show the custom content, and replace registrations sometimes fail to apply, leaving the texture black (timing bugs similar to citizenfx/fivem#1684). If these get fixed, the renderer could be swapped entirely from drawing to texture replacement; until then DrawSpritePoly stays.
  • Front plate support (currently rear plate bone only)
  • Visual gizmo alignment (object_gizmo integration)
6 Likes