HUDClient

setForceShowGps

SET_FORCE_SHOW_GPS0x2790F4B17D098E26

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

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

Usage

JavaScript
setForceShowGps(toggle);
Lua
setForceShowGps(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_FORCE_SHOW_GPS(BOOL toggle)
Hash
0x2790F4B17D098E26
Introduced
Game build 573 legacy numbering
Formerly
_SET_FORCE_BLIP_ROUTES_ON_FOOT

Open in the interactive natives reference