alt.toggleGameControls

Sets the current state of all game controls.

When set to false the controls are not active.

Declaration

alt.toggleGameControls(state: boolean): void

Usage

alt.toggleGameControls(false);

Real World Example

alt.toggleGameControls(false);

These examples assume you have imported alt from alt-client.

results matching ""

    No results matching ""