We have CuiInputFieldComponent. How can I temporary disable binds so user will enter whatever he wants in the input field?
Disabling key binds while using CUI input field?
Up c:
You/we simply can't.
In response to misticos ():My friend did something like that. Maybe he just blocks all server commands while CUI is opened?
If he is your friend -> why he didn't telled you how he made that?
> How can I temporary disable binds so user will enter whatever he wants in the input field?
Binds? Or commands? What kind?
Also there were a hook for handle commands (from player)
These can helps:
object commandSpecific=Interface.CallHook("OnPlayerCommand", arg);
> How can I temporary disable binds so user will enter whatever he wants in the input field?
Binds? Or commands? What kind?
Also there were a hook for handle commands (from player)
These can helps:
object commandSpecific=Interface.CallHook("OnPlayerCommand", arg);
object commandCovalence=Interface.CallHook("OnUserCommand", iplayer, cmd, args);
keycombos(clientside) are only blocked when the chat is open, the debug console is active, and or for example the system menu.
CUI Implementations cannot interrupt this kind of input. The CUI input field might need for example some input-validation/filtering.