SetVehicleEngineStatus

From GTA Network Wiki
Jump to: navigation, search

SetVehicleEngineStatus
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

This function sets the vehicle's engine on or off.

Syntax

void NAPI.Vehicle.SetVehicleEngineStatus(Vehicle vehicle, bool turnedOn);

Required Arguments

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

Usage example(s)

Example Description

NAPI.Vehicle.SetVehicleEngineStatus(vehicle, false);

Changelog

Version Description
1.0 Release.

References