GetVehicleLiveries

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

Returns a list of available liveries for the specified vehicle model.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In C#
Server-Side Function

API.getVehicleLiveries(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)

In C#
Server-Side Function

API.getVehicleLiveries(VehicleHash model);

References