The Lab
PED native

_0x5E9FAF6C513347B4

returns Entity2 paramsbuild 1207

This PED native has no community name yet, so it is known by its hash 0x5E9FAF6C513347B4. It takes 2 parameters (ped as Ped, eventType as Hash) and returns an Entity.

Signature

C
Entity _0x5E9FAF6C513347B4(Ped ped, Hash eventType); // 0x5E9FAF6C513347B4 b1207

Parameters

#NameType
1pedPed
2eventTypeHash

Facts

Facts about _0x5E9FAF6C513347B4
Name
_0x5E9FAF6C513347B4
Hash
0x5E9FAF6C513347B4
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(0x5E9FAF6C513347B4, -- _0x5E9FAF6C513347B4
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash eventType
  Citizen.ResultAsInteger()
)
print(entity)
JavaScript
const entity = Citizen.invokeNative("0x5E9FAF6C513347B4", // _0x5E9FAF6C513347B4
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash eventType
  Citizen.resultAsInteger()
);
console.log(entity)
C#
int entity = Function.Call<int>((Hash)0x5E9FAF6C513347B4, // _0x5E9FAF6C513347B4
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash eventType
);
All PED natives

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