HUDClientNot in this build

setMinimapBackgroundHidden

SET_MINIMAP_BACKGROUND_HIDDEN0xB09D42557C45EBA1

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

SignatureJavaScript
setMinimapBackgroundHidden(toggle: boolean): void
SignatureLua
setMinimapBackgroundHidden(toggle: boolean)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setMinimapBackgroundHidden(toggle);
Lua
setMinimapBackgroundHidden(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This native does absolutely nothing on PC master builds, just a nullsub.

Reference

Namespace
HUD HUD
In the game
void SET_MINIMAP_BACKGROUND_HIDDEN(BOOL toggle)
Hash
0xB09D42557C45EBA1
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference