RedM Natives

SET_BLIP_COORDS

Hash0x4FF674F5E23D49CE
Runtime nameSetBlipCoords
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xAE2AF67E9D9AF65D

Signature

void SET_BLIP_COORDS(Blip blip, float posX, float posY, float posZ);

Parameters

NameTypeDescription
blipBlip—
posXfloat—
posYfloat—
posZfloat—

Returns void

Usage

Lua
SetBlipCoords(blip, posX, posY, posZ)

-- always works, by hash
Citizen.InvokeNative(0x4FF674F5E23D49CE, blip, posX, posY, posZ)
JavaScript and C#
JavaScript
SetBlipCoords(blip, posX, posY, posZ);

// by hash
Citizen.invokeNative('0x4FF674F5E23D49CE', blip, posX + 0.0000001, posY + 0.0000001, posZ + 0.0000001);
C#
Function.Call((Hash)0x4FF674F5E23D49CE, blip, posX, posY, posZ);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.