GetVehicleEngineState: Difference between revisions

From Onset Developer Wiki
No edit summary
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get the vehicle's engine state.}}


{{FuncSyntax|GetVehicleEngineState(vehicle)}}
{{FuncSyntax|GetVehicleEngineState(vehicle)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' if on.}}


== Example ==
== Example ==

Revision as of 10:09, 19 November 2019

GetVehicleEngineState

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Get the vehicle's engine state.

Syntax

GetVehicleEngineState(vehicle)

Parameters

  • vehicle
    The vehicle identifier.

Return Value

  • Returns true if on.

Example

__EDIT_ME__

See also

__EDIT_ME__