SET_GPS_FLAGS
Hash
0x5DE61C90DDECFA2DRuntime name
SetGpsFlagsNamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5B440763A4C8D15BSignature
void SET_GPS_FLAGS(int p0, float p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | int | — |
p1 | float | — |
Returns void
Description
https://alloc8or.re/rdr3/doc/enums/rage__eGpsFlags.txt
Usage
SetGpsFlags(p0, p1)
-- always works, by hash
Citizen.InvokeNative(0x5DE61C90DDECFA2D, p0, p1)JavaScript and C#
SetGpsFlags(p0, p1);
// by hash
Citizen.invokeNative('0x5DE61C90DDECFA2D', p0, p1 + 0.0000001);Function.Call((Hash)0x5DE61C90DDECFA2D, p0, p1);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
See also
CLEAR_GPS_FLAGSClears the GPS flags.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.