setGpsFlags
SET_GPS_FLAGS0x5B440763A4C8D15BThe GTA V native SET_GPS_FLAGS of the HUD namespace, as LS:MP client scripts call it: the global function setGpsFlags, in JavaScript and in Lua.
setGpsFlags(p0: number, p1: number): voidsetGpsFlags(p0: integer, p1: number)Usage
JavaScript
setGpsFlags(p0, p1);Lua
setGpsFlags(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | int | number | integer |
p1 | float | number | number |
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.
Only the script that originally called setGpsFlags can set them again. Another script cannot set the flags, until the first script that called it has called clearGpsFlags.
Doesn't seem like the flags are actually read by the game at all.
Reference
- Namespace
- HUD HUD
- In the game
void SET_GPS_FLAGS(int p0, float p1)- Hash
0x5B440763A4C8D15B