Перейти к содержанию

SetVehiclePrimaryColor

Материал из RAGE MP Wiki Archive

This sets the vehicle's primary color.


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

<syntaxhighlight lang="csharp"> NAPI.NAPI.Vehicle.SetVehiclePrimaryColor(vehicle, 45); </syntaxhighlight>