Controls::isInputJustDisabled: Difference between revisions
(yay) |
|||
| Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Controls_functions_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 10:56, 14 May 2024
I may be wrong with this one, but from the looks of the scripts, it sets keyboard related stuff as soon as this returns true.
0, 1 and 2 used in the scripts. 0 is by far the most common of them.
Syntax
mp.game.controls.isInputJustDisabled(inputGroup);
Required Arguments
- inputGroup: int
Return value
- Boolean
Example
// todo
See also
- mp.game.controls.disableAllControlActions
- mp.game.controls.disableControlAction
- mp.game.controls.enableAllControlActions
- mp.game.controls.enableControlAction
- mp.game.controls.getControlActionName
- mp.game.controls.getControlValue
- mp.game.controls.getControlNormal
- mp.game.controls.getDisabledControlNormal
- mp.game.controls.isControlEnabled
- mp.game.controls.isControlJustReleased
- mp.game.controls.isControlJustPressed
- mp.game.controls.isControlPressed
- mp.game.controls.isControlReleased
- mp.game.controls.isDisabledControlJustReleased
- mp.game.controls.isDisabledControlJustPressed
- mp.game.controls.isDisabledControlPressed
- mp.game.controls.isInputDisabled
- mp.game.controls.isInputJustDisabled
- mp.game.controls.setControlNormal
- mp.game.controls.setInputExclusive
- mp.game.controls.setPadShake
- mp.game.controls.setPlayerpadShakesWhenControllerDisabled
- mp.game.controls.stopPadShake
- mp.game.controls.useDefaultVehicleEntering
- mp.game.controls.setDisableControlActionBatch
- mp.game.controls.applyDisableControlActionBatch