GetVehicleLiverys

From GT-MP
Jump to: navigation, search
GetVehicleLiverys
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#


Returns a list of available liveries for a specified vehicle.

See: SetVehicleLivery

Dialog-warning.png This method will be renamed to getVehicleLiveries in the next version. (0.1.7)

Syntax

API.getVehicleLiverys(VehicleHash model);

Required Arguments

  • model: parameter input should be in VehicleHash type.

NOTE: This function returns the livery indices(key) and livery names (value)) in Dictionary<int, string> type.

Usage example(s)

API.getVehicleLiverys(VehicleHash model);

Changelog

Version Description
1.638.634 Release.

References