isGameInstalled
IS_GAME_INSTALLEDThe GTA V native IS_GAME_INSTALLED of the STREAMING namespace, as LS:MP client scripts call it: the global function isGameInstalled, in JavaScript and in Lua.
isGameInstalled(): booleanisGameInstalled(): 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 = isGameInstalled();Lua
local result = isGameInstalled()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Streaming STREAMING
- In the game
BOOL IS_GAME_INSTALLED()