The Lab
LAW native

_0x318F0F9A4426CFA2

returns Any2 paramsbuild 1207

This LAW native has no community name yet, so it is known by its hash 0x318F0F9A4426CFA2. It takes 2 parameters (ped as Ped, p1 as Any*) and returns an Any.

Signature

C
Any _0x318F0F9A4426CFA2(Ped ped, Any* p1); // 0x318F0F9A4426CFA2 b1207

Parameters

#NameType
1pedPed
2p1Any* (out pointer)

Facts

Facts about _0x318F0F9A4426CFA2
Name
_0x318F0F9A4426CFA2
Hash
0x318F0F9A4426CFA2
Namespace
Returns
Any
Game build
1207

Examples

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

Lua
local result, p1 = Citizen.InvokeNative(0x318F0F9A4426CFA2, -- _0x318F0F9A4426CFA2
  PlayerPedId(), -- Ped ped
  Citizen.PointerValueInt(), -- Any* p1
  Citizen.ResultAsInteger()
)
print(result, p1)
JavaScript
const [result, p1] = Citizen.invokeNative("0x318F0F9A4426CFA2", // _0x318F0F9A4426CFA2
  PlayerPedId(), // Ped ped
  Citizen.pointerValueInt(), // Any* p1
  Citizen.resultAsInteger()
);
console.log(result, p1)
C#
var p1Arg = new OutputArgument();
int result = Function.Call<int>((Hash)0x318F0F9A4426CFA2, // _0x318F0F9A4426CFA2
  API.PlayerPedId(), // Ped ped
  p1Arg // Any* p1
);
int p1 = p1Arg.GetResult<int>();
All LAW natives

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