fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Client / Game / isDisabledControlJustPressed

Function: isDisabledControlJustPressed()

isDisabledControlJustPressed(inputMode, control): boolean

Checks if a disabled control has just been pressed.

Parameters

inputMode: InputMode

The input mode to check (e.g., keyboard, gamepad).

control: Controls

The specific control to check for a press.

Returns

boolean

Defined in

client/Game.ts:399