function
disableKey (client-side)
Available since version: 0.0.0
This function will disable/enable specified game key action, like: Game Menu on (ESC), Inventory on (TAB), etc.
Declaration
void disableKey(int id, bool toggle)
Parameters
int
id: the id of the key. For more information see Key constants.bool
toggle:true
when you want to disable specified game key action, otherwisefalse
.