DisableVehicleEnteringKeys

From GT-MP
Jump to: navigation, search
DisableVehicleEnteringKeys
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Disables/Enables the vehicle entering keys (F & G keys).

Syntax

In Javascript
Client-Side Function

void API.disableVehicleEnteringKeys(bool enable);

Required Arguments

  • enable: parameter input should be in bool type.

Usage example(s)

void API.disableVehicleEnteringKeys(bool enable);


References