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

GetVehicleCustomSecondaryColor

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

Returns the vehicle's custom secondary color.


Color NAPI.Vehicle.GetVehicleCustomSecondaryColor(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the custom secondary color in Color type.

Example

<syntaxhighlight lang="csharp"> Color vehicleColor = NAPI.Vehicle.GetVehicleCustomSecondaryColor(vehicle); </syntaxhighlight>