Module EMVU

Photon EMV Client Loader.

Info:

  • Copyright: Photon Team
  • Release: v74 Hot Sulphur Springs
  • Author: Photon Team

Functions

CalculateFrames() Timer to update frame calculations.
EMVU.Configurations.GenerateName(data) Generate a configuration name for a vehicle.
EMVU.Configurations.GetConfigText(name, category, author, data) Serialize a configuration.
EMVU.Configurations.SaveConfiguration(name, category, author, data) Save a configuration.
EMVU.Configurations.ConfigurationLua(name, category, author, data) Generate lua code for a given configuration.
Photon.AutoSkins.FetchSkins(id) Fetch autoskins for a given vehicle.
Photon.AutoSkins.ParseSkins(id) Parse the skins of an id.
Photon.AutoSkins.LoadAvailable() Load all available autoskins into the cache.
Photon.LicensePlates.FetchMaterials() Fetch the license plate materials.
Photon.LicensePlates.ParseMaterials() Parse materials into key/pairs.
Photon.LicensePlates.LoadAvailable() Load all license plates.
Photon.BoneRotation() Run bone rotation.
Listener(ply, bind, press) Hook function called on key press.
Photon:CarSignal(arg) Set the LocalPlayer's vehicle's turn signal state.

Tables

ManualSirenTable List of manual sirens.
Photon.LicensePlates.Available Available license plate materials.


Functions

Methods
CalculateFrames()
Timer to update frame calculations.
EMVU.Configurations.GenerateName(data)
Generate a configuration name for a vehicle.

Parameters:

  • data table Configuration data to generate a name for.

Returns:

    string Name of the generated configuration.
EMVU.Configurations.GetConfigText(name, category, author, data)
Serialize a configuration.

Parameters:

  • name string The name of the config.
  • category string The configuration category.
  • author string Unused.
  • data table Configuration data.

Returns:

    string Serialized data.
EMVU.Configurations.SaveConfiguration(name, category, author, data)
Save a configuration.

Parameters:

  • name string The name of the config.
  • category string The configuration category.
  • author string Unused.
  • data table Configuration data.

Returns:

    boolean If the configuration saved.
EMVU.Configurations.ConfigurationLua(name, category, author, data)
Generate lua code for a given configuration.

Parameters:

  • name string The name of the config.
  • category string The configuration category.
  • author string Unused.
  • data table Configuration data.

Returns:

    string The generated lua string.
Photon.AutoSkins.FetchSkins(id)
Fetch autoskins for a given vehicle.

Parameters:

  • id string Auto Skin ID of the vehicle.

Returns:

  1. table Found skins.
  2. string Base material directory.
Photon.AutoSkins.ParseSkins(id)
Parse the skins of an id. Generates names and texture paths.

Parameters:

Returns:

    table Parsed results.
Photon.AutoSkins.LoadAvailable()
Load all available autoskins into the cache.
Photon.LicensePlates.FetchMaterials()
Fetch the license plate materials.
Photon.LicensePlates.ParseMaterials()
Parse materials into key/pairs.
Photon.LicensePlates.LoadAvailable()
Load all license plates.
Photon.BoneRotation()
Run bone rotation.
Listener(ply, bind, press)
Hook function called on key press.

Parameters:

  • ply Player Player pushing the key.
  • bind string The bind being pressed.
  • press boolean If the key is going up or down.
Photon:CarSignal(arg)
Set the LocalPlayer's vehicle's turn signal state.

Parameters:

Tables

ManualSirenTable
List of manual sirens.
Photon.LicensePlates.Available
Available license plate materials.
generated by LDoc 1.5.0 Last updated 2023-08-22 12:06:54