SetVehicleEngineStatus

From GT-MP
Jump to: navigation, search
SetVehicleEngineStatus
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Function Description


Syntax

API.setVehicleEngineStatus(NetHandle vehicle, bool turnedOn);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.
  • turnedOn: parameter input should be in bool type.

Usage example(s)

Example Description

API.setVehicleEngineStatus(NetHandle vehicle, bool turnedOn);


References