isXboxpcVersion
_IS_XBOXPC_VERSION0xE2BCD0EFAE90D1F4The GTA V native _IS_XBOXPC_VERSION of the MISC namespace, as LS:MP client scripts call it: the global function isXboxpcVersion, in JavaScript and in Lua.
isXboxpcVersion(): booleanisXboxpcVersion(): boolean⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
const result = isXboxpcVersion();Lua
local result = isXboxpcVersion()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Misc MISC
- In the game
BOOL _IS_XBOXPC_VERSION()- Hash
0xE2BCD0EFAE90D1F4- Introduced
- Game build 3504 legacy numbering