The Lab
MAP native

_BLIP_ADD_FOR_AREA

returns Blip8 paramsbuild 1207

Creates a blip of type blipHash covering an area centered on the given coordinates with the given scale, and returns its handle.

Signature

C
Blip _BLIP_ADD_FOR_AREA(Hash blipHash, float x, float y, float z, float scaleX, float scaleY, float scaleZ, int p7); // 0xEC174ADBCB611ECC b1207

Parameters

#NameType
1blipHashHash
2xfloat
3yfloat
4zfloat
5scaleXfloat
6scaleYfloat
7scaleZfloat
8p7int

Facts

Facts about _BLIP_ADD_FOR_AREA
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.

Lua
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)
JavaScript
// 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)
C#
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
);
All MAP natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.