Vehicle::getIsEngineRunning: Difference between revisions

From RAGE Multiplayer Wiki
m (Changed definition)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
=== Required Arguments ===
=== Required Arguments ===
===Return value===
===Return value===
*'''Boolean'''
*'''boolean: false or true'''
 
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
Line 11: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 11:38, 9 May 2024

Returns true if the engine is on, returns false if the engine is off. Returns null while entering/exiting vehicle.

Syntax

vehicle.getIsEngineRunning();

Required Arguments

Return value

  • boolean: false or true

Example

// todo

See also