DisableAlternativeMainMenuKey

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

Disables/Enables the alternative Main Menu Key (P key).

Dialog-warning.png API.disableAlternativeMainMenuKey() will be removed in version 0.1.7, see Deprecated.

Syntax

In Javascript
Client-Side Function

void API.disableAlternativeMainMenuKey(bool enable);

Required Arguments

  • enable: parameter input should be in bool type.

Usage example(s)

void API.disableAlternativeMainMenuKey(bool enable);


References