Skip to content

Vehicle_GetEngineState

Stefan Unković edited this page Jul 25, 2021 · 1 revision

Description

Gets engine state.

Syntax

Vehicle_GetEngineState(vehicleid)
Param Definition
vehicleid Vehicle we are getting state from.

Returns

NOTICE: It doesn't return a value on failure. So it can actually return E_ENGINE_STATE_OFF on failure.

Returns either E_ENGINE_STATE_ON or E_ENGINE_STATE_OFF.

Sidebar

Clone this wiki locally