BLIP_ADD_FOR_COORDS
Creates a blip of type blipHash at the given coordinates and returns its handle.
Set its sprite and name afterwards with SET_BLIP_SPRITE and _SET_BLIP_NAME.
Signature
Blip BLIP_ADD_FOR_COORDS(Hash blipHash, float x, float y, float z); // 0x554D9D53F696D002 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | blipHash | Hash |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
Facts
| Name | BLIP_ADD_FOR_COORDS |
|---|---|
| Hash | 0x554D9D53F696D002 |
| Namespace | |
| Returns | Blip |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local blip = Citizen.InvokeNative(0x554D9D53F696D002, -- BLIP_ADD_FOR_COORDS
GetHashKey("name"), -- Hash blipHash
0.0, -- float x
0.0, -- float y
0.0, -- float z
Citizen.ResultAsInteger()
)
print(blip)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const blip = Citizen.invokeNative("0x554D9D53F696D002", // BLIP_ADD_FOR_COORDS
GetHashKey("name"), // Hash blipHash
0.0, // float x
0.0, // float y
0.0, // float z
Citizen.resultAsInteger()
);
console.log(blip)int blip = Function.Call<int>((Hash)0x554D9D53F696D002, // BLIP_ADD_FOR_COORDS
(uint)API.GetHashKey("name"), // Hash blipHash
0.0f, // float x
0.0f, // float y
0.0f // float z
);Related MAP natives
- BLIP_ADD_FOR_ENTITY
- BLIP_ADD_FOR_PICKUP_PLACEMENT
- BLIP_ADD_FOR_RADIUS
- BLIP_ADD_MODIFIER
- _BLIP_ADD_FOR_AREA
- _BLIP_ADD_FOR_STYLE
- _BLIP_ADD_FOR_VOLUME
- _BLIP_ADD_STYLE
- _SET_DISPLAY_BLIP_ICON_FOR_ENTITY_PROMPT_REMOVED
- _SET_DISPLAY_BLIP_ICON_FOR_ENTITY_PROMPT_WITH_LOCKON
- _SET_DISPLAY_BLIP_ICON_FOR_ENTITY_PROMPT_WITHOUT_LOCKON
- GET_BLIP_COORDS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.