Jump to content
GET 50% OFF OUR PRODUCTS THIS WEEKEND! CODE 'EASTER50' ×

Just Scripts

Best FiveM Scripts

Visit Store

King Maps

Best MLO/Interiors for FiveM

Visit Store

Fiveguard Anti-Cheat

Best FiveM Anti-Cheat for your server!

Get FiveGuard

Custom California Plates/ Extra plates i made they are included just switch it in config FINAL

   (1 review)

2 Screenshots

About This File

CALIFORNIA LICENSE PLATES MADE BY ME ? VERY SIMPLE AND EASY TO PUT IN COMPLETLY STANDALONE AND DRAG AND DROP SUPPORT WILL BE NOT BE ISSUED AS THIS IS VERY SIMPLE AND IF U CANNOT FIGURE IT OUT THAT SUCKS LMAO 

CODE PREVIEW

--- IMAGE CONFIG HERE ---
imageUrl = "https://cdn.discordapp.com/attachments/1077520479604183093/1106673207903268864/cali.png" -- Paste your image URL here (doesn't have to be from imgur)


-- The actual script --
local textureDic = CreateRuntimeTxd('duiTxd') -- Create custom texture dictionary only needs to be done once
local object = CreateDui(imageUrl, 540, 300) -- Load image into object
local handle = GetDuiHandle(object) -- Gets DUI handle from object
CreateRuntimeTextureFromDuiHandle(textureDic, "duiTex", handle) -- Creates the texture "duiTex" in the "duiTxd" dictionary
AddReplaceTexture('vehshare', 'plate01', 'duiTxd', 'duiTex') -- Applies "duiTex" from "duiTxd" to "plate01" from "vehshare"
AddReplaceTexture('vehshare', 'plate02', 'duiTxd', 'duiTex') -- Applies "duiTex" from "duiTxd" to "plate02" from "vehshare"
AddReplaceTexture('vehshare', 'plate03', 'duiTxd', 'duiTex') -- Applies "duiTex" from "duiTxd" to "plate03" from "vehshare"
AddReplaceTexture('vehshare', 'plate04', 'duiTxd', 'duiTex') -- Applies "duiTex" from "duiTxd" to "plate04" from "vehshare"
AddReplaceTexture('vehshare', 'plate05', 'duiTxd', 'duiTex') -- Applies "duiTex" from "duiTxd" to "plate05" from "vehshare"


local object = CreateDui('https://i.imgur.com/Q3uw6V7.png', 540, 300) -- this URL doesn't need to be edited, its just the 2d model for the plate -- Load image into object
local handle = GetDuiHandle(object) -- Gets DUI handle from object
CreateRuntimeTextureFromDuiHandle(textureDic, "duiTex2", handle) -- Creates the texture "duiTex" in the "duiTxd" dictionary
AddReplaceTexture('vehshare', 'plate01_n', 'duiTxd', 'duiTex2') -- Applies "duiTex2" from "duiTxd" to "plate01_n" from "vehshare"
AddReplaceTexture('vehshare', 'plate02_n', 'duiTxd', 'duiTex2') -- Applies "duiTex2" from "duiTxd" to "plate02_n" from "vehshare"
AddReplaceTexture('vehshare', 'plate03_n', 'duiTxd', 'duiTex2') -- Applies "duiTex2" from "duiTxd" to "plate03_n" from "vehshare"
AddReplaceTexture('vehshare', 'plate04_n', 'duiTxd', 'duiTex2') -- Applies "duiTex2" from "duiTxd" to "plate04_n" from "vehshare"
AddReplaceTexture('vehshare', 'plate05_n', 'duiTxd', 'duiTex2') -- Applies "duiTex2" from "duiTxd" to "plate05_n" from "vehshare"

 



 

  • Happy 1

User Feedback

You may only provide a review once you have downloaded the file.


b.thrz

  

Nice script, works perfectly but can you had other plates ?

Link to review
  • Recently Browsing   0 members

    • No registered users viewing this page.

Announcements



×
×
  • Create New...

Important Information

By continuing on Launcherleaks.net, you agree to our Terms of Use, Guidelines & Privacy Policy