function disableControls (client-side)
Available since version: 0.3.0
This function will disable/enable default game actions that are bound to keys.
Declaration
boolean disableControls(boolean toggle)
Parameters
booleantoggle: True when you want to disable game keys, otherwise false.
Returns boolean
True on success.