HUDClient

setFakePausemapPlayerPositionThisFrame

SET_FAKE_PAUSEMAP_PLAYER_POSITION_THIS_FRAME0x77E2DD177910E1CF

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

SignatureJavaScript
setFakePausemapPlayerPositionThisFrame(x: number, y: number): void
SignatureLua
setFakePausemapPlayerPositionThisFrame(x: number, y: number)

Usage

JavaScript
setFakePausemapPlayerPositionThisFrame(x, y);
Lua
setFakePausemapPlayerPositionThisFrame(x, y)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber

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.

Sets the position of the arrow icon representing the player on both the minimap and world map.

Too bad this wouldn't work over the network (obviously not). Could spoof where we would be.

Reference

Namespace
HUD HUD
In the game
void SET_FAKE_PAUSEMAP_PLAYER_POSITION_THIS_FRAME(float x, float y)
Hash
0x77E2DD177910E1CF
Formerly
_SET_PLAYER_BLIP_POSITION_THIS_FRAME

Open in the interactive natives reference