MiscClient

isXboxPlatform

IS_XBOX_PLATFORM0x138679CA01E21F53

The GTA V native IS_XBOX_PLATFORM of the MISC namespace, as LS:MP client scripts call it: the global function isXboxPlatform, in JavaScript and in Lua.

SignatureJavaScript
isXboxPlatform(): boolean
SignatureLua
isXboxPlatform(): boolean

Usage

JavaScript
const result = isXboxPlatform();
Lua
local result = isXboxPlatform()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL IS_XBOX_PLATFORM()
Hash
0x138679CA01E21F53
Introduced
Game build 2612 legacy numbering

Open in the interactive natives reference