The Lab
ENTITY native

_GET_PINNED_MAP_ENTITY

returns Entity1 parambuild 1207

Based on its name and signature, here is our best reading:

Returns a map entity previously pinned. The parameter is not documented.

Signature

C
Entity _GET_PINNED_MAP_ENTITY(Any p0); // 0x4735E2A4BB83D9DA b1207

Parameters

#NameType
1p0Any

Facts

Facts about _GET_PINNED_MAP_ENTITY
Name
_GET_PINNED_MAP_ENTITY
Hash
0x4735E2A4BB83D9DA
Namespace
Returns
Entity
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local entity = Citizen.InvokeNative(0x4735E2A4BB83D9DA, -- _GET_PINNED_MAP_ENTITY
  0, -- Any p0
  Citizen.ResultAsInteger()
)
print(entity)
JavaScript
const entity = Citizen.invokeNative("0x4735E2A4BB83D9DA", // _GET_PINNED_MAP_ENTITY
  0, // Any p0
  Citizen.resultAsInteger()
);
console.log(entity)
C#
int entity = Function.Call<int>((Hash)0x4735E2A4BB83D9DA, // _GET_PINNED_MAP_ENTITY
  0 // Any p0
);
All ENTITY natives

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