function disableLogicalKey (client-side)
Available since version: 0.2
This function will disable/enable specified game key action, like: Inventory, Draw weapon, Statistics menu, etc.
Declaration
void disableLogicalKey(int logicalKeyId, bool toggle)
Parameters
intlogicalKeyId: the id of the logical key. For more information see Logical key constants.booltoggle:truewhen you want to disable specified game key action, otherwisefalse.