SetVehicleLivery

From GT-MP
Jump to: navigation, search
SetVehicleLivery
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Changes the livery (visuals) of the specified vehicle.

See GetVehicleLiverys for a list of all available liveries.

Syntax

API.setVehicleLivery(NetHandle vehicle, int livery);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.
  • livery: parameter input should be in int type.

Usage example(s)

Example Description

API.setVehicleLivery(NetHandle vehicle, int livery);


References