_BLIP_ADD_FOR_AREA
Creates a blip of type blipHash covering an area centered on the given coordinates with the given scale, and returns its handle.
Signature
Blip _BLIP_ADD_FOR_AREA(Hash blipHash, float x, float y, float z, float scaleX, float scaleY, float scaleZ, int p7); // 0xEC174ADBCB611ECC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | blipHash | Hash |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | scaleX | float |
| 6 | scaleY | float |
| 7 | scaleZ | float |
| 8 | p7 | int |
Facts
| Name | _BLIP_ADD_FOR_AREA |
|---|---|
| Hash | 0xEC174ADBCB611ECC |
| 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(0xEC174ADBCB611ECC, -- _BLIP_ADD_FOR_AREA
GetHashKey("name"), -- Hash blipHash
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float scaleX
0.0, -- float scaleY
0.0, -- float scaleZ
0, -- int p7
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("0xEC174ADBCB611ECC", // _BLIP_ADD_FOR_AREA
GetHashKey("name"), // Hash blipHash
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float scaleX
0.0, // float scaleY
0.0, // float scaleZ
0, // int p7
Citizen.resultAsInteger()
);
console.log(blip)int blip = Function.Call<int>((Hash)0xEC174ADBCB611ECC, // _BLIP_ADD_FOR_AREA
(uint)API.GetHashKey("name"), // Hash blipHash
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f, // float scaleX
0.0f, // float scaleY
0.0f, // float scaleZ
0 // int p7
);Related MAP natives
- _BLIP_ADD_FOR_STYLE
- _BLIP_ADD_FOR_VOLUME
- _BLIP_ADD_STYLE
- BLIP_ADD_FOR_COORDS
- BLIP_ADD_FOR_ENTITY
- BLIP_ADD_FOR_PICKUP_PLACEMENT
- BLIP_ADD_FOR_RADIUS
- _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
- BLIP_ADD_MODIFIER
- _BLIP_SET_STYLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.