function
enableKeys (client-side)
Deprecated since version: 0.2
Note
This function is similiar to disableControls function, but does not restrict movement.
This function will disable/enable game key actions, like: Game Menu on (ESC), Inventory on (TAB), etc.
Declaration
void enableKeys(bool toggle)
Parameters
bool
toggle:false
when you want to disable game keys actions, otherwisetrue
.