getFakeSpectatorMode
GET_FAKE_SPECTATOR_MODE0xC2D2AD9EAAE265B8The GTA V native GET_FAKE_SPECTATOR_MODE of the HUD namespace, as LS:MP client scripts call it: the global function getFakeSpectatorMode, in JavaScript and in Lua.
getFakeSpectatorMode(): booleangetFakeSpectatorMode(): booleanUsage
JavaScript
const result = getFakeSpectatorMode();Lua
local result = getFakeSpectatorMode()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Getter for setFakeSpectatorMode
Reference
- Namespace
- HUD HUD
- In the game
BOOL GET_FAKE_SPECTATOR_MODE()- Hash
0xC2D2AD9EAAE265B8- Introduced
- Game build 505 legacy numbering