CutscenesClient

canUseMobilePhoneDuringCutscene

CAN_USE_MOBILE_PHONE_DURING_CUTSCENE0x5EDEF0CF8C1DAB3C

The GTA V native CAN_USE_MOBILE_PHONE_DURING_CUTSCENE of the CUTSCENE namespace, as LS:MP client scripts call it: the global function canUseMobilePhoneDuringCutscene, in JavaScript and in Lua.

SignatureJavaScript
canUseMobilePhoneDuringCutscene(): boolean
SignatureLua
canUseMobilePhoneDuringCutscene(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Cutscenes CUTSCENE
In the game
BOOL CAN_USE_MOBILE_PHONE_DURING_CUTSCENE()
Hash
0x5EDEF0CF8C1DAB3C

Open in the interactive natives reference