plmIsInConstrainedMode
PLM_IS_IN_CONSTRAINED_MODE0x684A41975F077262The GTA V native PLM_IS_IN_CONSTRAINED_MODE of the MISC namespace, as LS:MP client scripts call it: the global function plmIsInConstrainedMode, in JavaScript and in Lua.
plmIsInConstrainedMode(): booleanplmIsInConstrainedMode(): booleanUsage
JavaScript
const result = plmIsInConstrainedMode();Lua
local result = plmIsInConstrainedMode()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
aka "constrained"
Reference
- Namespace
- Misc MISC
- In the game
BOOL PLM_IS_IN_CONSTRAINED_MODE()- Hash
0x684A41975F077262- Formerly
_IS_IN_POWER_SAVING_MODE