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.

Declaration

void disableLogicalKey(int logicalKeyId, bool toggle)

Parameters

  • 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.