setMinimapInSpectatorMode
SET_MINIMAP_IN_SPECTATOR_MODE0x1A5CD7752DD28CD3The GTA V native SET_MINIMAP_IN_SPECTATOR_MODE of the HUD namespace, as LS:MP client scripts call it: the global function setMinimapInSpectatorMode, in JavaScript and in Lua.
setMinimapInSpectatorMode(toggle: boolean, ped: Ped): voidsetMinimapInSpectatorMode(toggle: boolean, ped: Ped)Usage
JavaScript
setMinimapInSpectatorMode(toggle, ped);Lua
setMinimapInSpectatorMode(toggle, ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
ped | Ped | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_MINIMAP_IN_SPECTATOR_MODE(BOOL toggle, Ped ped)- Hash
0x1A5CD7752DD28CD3- Formerly
KEY_HUD_COLOUR