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

Vehicle::getPaintFade

Материал из RAGE MP Wiki Archive
Версия от 23:49, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

formerly known as _GET_VEHICLE_PAINT_FADE

The result is a value from 0-1, where 0 is fresh paint.
-----------------------------------------------------------------------
The actual value isn't stored as a float but as an unsigned char (BYTE).

Syntax

<syntaxhighlight lang="javascript">vehicle.getPaintFade();</syntaxhighlight>

Required Arguments

Return value

  • float

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also