@altv/types-clientFunctionstoggleGameControlstoggleGameControls CallabletoggleGameControls(state: boolean): voidToggles the game controls.Remarks When this is set to false, all controls are disabled, so you can’t move your character or the camera.
Toggles the game controls.
Remarks
When this is set to false, all controls are disabled, so you can’t move your character or the camera.