SetVehiclePrimaryColor

From RAGE Multiplayer Wiki
Revision as of 21:03, 27 November 2019 by Avoid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This sets the vehicle's primary color.


C# Syntax

void NAPI.Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);

Parameters

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

Example

NAPI.NAPI.Vehicle.SetVehiclePrimaryColor(vehicle, 45);