HUDClient

hasDirectorModeBeenLaunchedByCode

HAS_DIRECTOR_MODE_BEEN_LAUNCHED_BY_CODE0xA277800A9EAE340E

The GTA V native HAS_DIRECTOR_MODE_BEEN_LAUNCHED_BY_CODE of the HUD namespace, as LS:MP client scripts call it: the global function hasDirectorModeBeenLaunchedByCode, in JavaScript and in Lua.

SignatureJavaScript
hasDirectorModeBeenLaunchedByCode(): boolean
SignatureLua
hasDirectorModeBeenLaunchedByCode(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL HAS_DIRECTOR_MODE_BEEN_LAUNCHED_BY_CODE()
Hash
0xA277800A9EAE340E
Formerly
_HAS_DIRECTOR_MODE_BEEN_TRIGGERED

Open in the interactive natives reference