menu
Functions to add widgets into special group for scripts, and modulating variables (not a built-in cheat configuration variables! see config table for more info) of them
Last updated
Was this helpful?
Functions to add widgets into special group for scripts, and modulating variables (not a built-in cheat configuration variables! see config table for more info) of them
Last updated
Was this helpful?
API of this file is not finished yet and could be changed in any time
Description: keybind variables switch mode
Indentifiers
KEYBIND_HOLD
KEYBIND_TOGGLE
Returns:
Type
Description
bool
true when cheat menu opened
Code:
Parameters:
Name
Type
Description
szName
string
widget name
pCallback
function
callback on button click
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
bDefault
bool
default widget variable value
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
bDefault
bool
default widget variable value
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
iDefualtKey
int
default hotkey widget key
iDefaultMode
int
default hotkey widget key mode
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
vecLabels
table
combo widget entries labels
nDefault
int
default combo widget selected label index
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
vecLabels
table
multicombo widget entries labels
nDefault
bitflag
default multicombo widget selected labels flags
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
iMinimal
int
sliderint widget minimal allowed variable value
iMaximal
int
sliderint widget maximal allowed variable value
iDefault
int
default sliderint widget variable value
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
flMinimal
float
sliderfloat widget minimal allowed variable value
flMaximal
float
sliderfloat widget maximal allowed variable value
flDefault
float
default sliderfloat widget variable value
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szName
string
widget name
colDefault
default color picker widget variable value
szTooltip
string
tooltip when user hovers widget
Code:
Parameters:
Name
Type
Description
szWidgetName
string
widget name to get value from
szScriptName
string
script name where located widget
Returns:
Type
Description
any
Code:
Parameters:
Name
Type
Description
szWidgetName
string
widget name to set value to
value
any
szScriptName
string
script name where located widget
Code:
Parameters:
Name
Type
Description
szWidgetName
string
widget name to delete from menu
Code:
automatic value, for a checkbox/toggle, returns boolean. for a sliderint/combo/multicombo, returns an integer. for a sliderfloat, returns a float. for a hotkey, returns true if the hotkey is active. for a color picker, returns
automatic value, for a checkbox/toggle - bool. for a sliderint/combo/multicombo - integer. for a sliderfloat - float. for a hotkey - bool. for a color picker -