autorun.photon.cl_emv_livery
Automatic Liveries
- ClientPhoton.AutoLivery.Apply(id, val, ent) → boolean|nilSource ☍
-
Apply an auto livery to a vehicle.
Parameters
- idany
- valany
- entany
Returns
- boolean|nil
- ClientPhoton.AutoLivery.ApplyFallback(ent, id)Source ☍
-
Apply a fallback livery to a vehicle.
Parameters
- entany
- idany
- ClientPhoton.AutoLivery.ApplyTexture(mat, ent, car, val, id)Source ☍
-
Apply an autolivery to a vehicle.
Parameters
- matany
- entany
- carany
- valany
- idany
- ClientPhoton.AutoLivery.DownloadMaterial(car, id, val, ent, cback, failedcback)Source ☍
-
Function to download a material.
Parameters
- carany
- idany
- valany
- entany
- cbackany
- failedcbackany
- ClientPhoton.AutoLivery.FindFallback(name, id) → string|unknownSource ☍
-
Broken.
Parameters
- nameany
- idany
Returns
- string|unknown
- ClientPhoton.AutoLivery.FormatName(car, id, val) → stringSource ☍
-
Format a livery name for caching.
Parameters
- carany
- idany
- valany
Returns
- string
- ClientPhoton.AutoLivery.LoadCallback(car, id, val, ent, success)Source ☍
-
Callback after a livery has been downloaded.
Parameters
- carany
- idany
- valany
- entany
- successany
- ClientPhoton.AutoLivery.LoadLivery(car, id, val) → unknownSource ☍
-
Load a livery from file.
Parameters
- carany
- idany
- valany
Returns
- unknown
- ClientPhoton.AutoLivery.LoadMaterial(car, id, val, ent)Source ☍
-
Load and fetch a material onto a given vehicle.
Parameters
- carany
- idany
- valany
- entany
- ClientPhoton.AutoLivery.Scan()Source ☍
-
Scan for AutoLivery changes.