SetVehicleLivery

From RAGE Multiplayer Wiki
Revision as of 21:24, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the vehicle's livery if it has any. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleLivery(Vehicle vehicle, in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function sets the vehicle's livery if it has any.


C# Syntax

void NAPI.Vehicle.SetVehicleLivery(Vehicle vehicle, int livery);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • livery: parameter input should be in int type

Example

NAPI.Vehicle.SetVehicleLivery(vehicle, 1);