function disableKey (client-side)
Available since version: 0.0.0
This function will disable/enable specified keyboard key, like: ESCAPE, TAB, etc.
Declaration
void disableKey(int keyId, bool toggle)
Parameters
intkeyId: the id of the key. For more information see Key constants.booltoggle:truewhen you want to disable specified keyboard key, otherwisefalse.