Skip to content

function disableControls (client-side)

Available since version: 0.3.0

This function will disable/enable default game actions that are bound to keys.

Declaration

bool disableControls(bool true)

Parameters

  • bool true: when you want to disable game keys, otherwise false.

Returns bool

True on success.