a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Client / Game / disableControlThisFrame
disableControlThisFrame(
inputMode
,control
):void
Disables a specific control for the current frame.
• inputMode: InputMode
The mode of input that should be disabled (e.g., keyboard, gamepad).
• control: Controls
The specific control within the input mode to be disabled.
void