MASRPNathan-G / customplates

Edit Native Grand Theft Auto 5 License Plate Imagery With This Script!
24 stars 15 forks source link

Custom Plate Images For Vehicles

What Does This Do?

Well, simply put; you can change the background image for license plates! Once upon a time you were able to stream the vehshare.ytd file to do this, however this is no longer possible.

This method uses a FiveM Native function to replace the texture via script.

How Do I Change The Plate Background To A Custom Image?

It's pretty simple

  1. Use the template files provided below (Ensure the size has a ratio equivalent to that of 600x350) 1200x700 is possibly your best bet.
  2. Customize the plate to your liking and save the file as a .png
  3. upload the plate to an image website (I personally use Imgur)
  4. Get the raw image file URL (URL should end with a .png)
  5. Paste your URL into the config.lua

Possibly Important Stuff

First off, here are the template files

Other Notes

Without configuration, this script will give in-game license plates a texture glitch I will not be providing assistance with the creation of textures for the plates

Example

Here


Hey! Read Me For More Plates

So I've done some testing and it appears that if you'd like to replace more plates, you'll need to copy the script to another resource... meaning if you want all 5 plates replaced, that's 5 resource files.

Perhaps this was just exclusive to me or just a few people, but otherwise, this is the only way of doing this.. or at least to my knowledge

If anyone finds or has found a workout to this, please let us know so I can update the post (credit provided of course)

What Doesn't Work for me...

I will continue to work on this and try to find a more efficient way of doing this.