Skip to content

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.


void disableLogicalKey(int logicalKeyId, bool toggle)


  • int logicalKeyId: the id of the logical key. For more information see Logical key constants.
  • bool toggle: true when you want to disable specified game key action, otherwise false.