MiscClient

hasGameInstalledThisSession

HAS_GAME_INSTALLED_THIS_SESSION0x6FDDF453C0C756EC

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

SignatureJavaScript
hasGameInstalledThisSession(): boolean
SignatureLua
hasGameInstalledThisSession(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL HAS_GAME_INSTALLED_THIS_SESSION()
Hash
0x6FDDF453C0C756EC

Open in the interactive natives reference