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

GetVehicleNeonColor

Материал из RAGE MP Wiki Archive
Версия от 07:52, 28 ноября 2019; imported>Avoid (Created page with "Returns Vehicle's neon color in RGB. {{CSharpContainer| {{#tag:pre|Color {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleNeonColor(Vehicle vehicle);}} {{Parameters...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns Vehicle's neon color in RGB.


Color NAPI.Vehicle.GetVehicleNeonColor(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the color in Color type.

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.GetVehicleNeonColor(player.Vehicle); </syntaxhighlight>