The Lab
MAP native

GET_MAIN_PLAYER_BLIP_ID

returns Blip0 paramsbuild 1207

Returns the handle of the local player's own blip.

Signature

C
Blip GET_MAIN_PLAYER_BLIP_ID(); // 0x5CD2889B2B381D45 b1207

Parameters

This native takes no parameters.

Facts

Facts about GET_MAIN_PLAYER_BLIP_ID
Name
GET_MAIN_PLAYER_BLIP_ID
Hash
0x5CD2889B2B381D45
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(0x5CD2889B2B381D45, -- GET_MAIN_PLAYER_BLIP_ID
  Citizen.ResultAsInteger()
)
print(blip)
JavaScript
const blip = Citizen.invokeNative("0x5CD2889B2B381D45", // GET_MAIN_PLAYER_BLIP_ID
  Citizen.resultAsInteger()
);
console.log(blip)
C#
int blip = Function.Call<int>((Hash)0x5CD2889B2B381D45); // GET_MAIN_PLAYER_BLIP_ID
All MAP natives

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