Vehicle::getEngineHealth

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

Returns 1000.0 if the function is unable to get the address of the specified vehicle or if it's not a vehicle.

Minimum: -4000
Maximum: 1000

-4000: Engine is destroyed
0 and below: Engine catches fire and health rapidly declines
300: Engine is smoking and losing functionality
1000: Engine is perfect

Syntax

vehicle.getEngineHealth();

Required Arguments

Return value

  • float

Example

// todo

See also