Vehicle::setPaintFade

From RAGE Multiplayer Wiki
Revision as of 23:48, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

formerly known as _SET_VEHICLE_PAINT_FADE

The parameter fade 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). More info here: pastebin.com/r0h6EM5s

Syntax

vehicle.setPaintFade(fade);

Required Arguments

  • fade: float

Return value

  • Undefined

Example

// todo

See also