HUDClient

setDirectorModeAvailable

SET_DIRECTOR_MODE_AVAILABLE0x04655F9D075D0AE5

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

SignatureJavaScript
setDirectorModeAvailable(toggle: boolean): void
SignatureLua
setDirectorModeAvailable(toggle: boolean)

Usage

JavaScript
setDirectorModeAvailable(toggle);
Lua
setDirectorModeAvailable(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_DIRECTOR_MODE_AVAILABLE(BOOL toggle)
Hash
0x04655F9D075D0AE5

Open in the interactive natives reference