Skip to content

function disableLogicalKey (client-side)

Available since version: 0.3.0

This function will disable/enable a Gothic logical game action for Lua input polling.

Declaration

boolean disableLogicalKey(number key, boolean toggle)

Parameters

  • number key: The logical game action code to disable. For more information about key codes, see Logical Key Constants.
  • boolean toggle: True to disable, false to enable.

Returns boolean

True on success.