The Lab
LAW native

_0x95878B13E272EF1F

returns Any7 paramsbuild 1207

This LAW native has no community name yet, so it is known by its hash 0x95878B13E272EF1F. It takes 7 parameters (entity as Entity, ped as Ped, p2 as BOOL, x as float, y as float, z as float, crimeType as Hash) and returns an Any.

Signature

C
Any _0x95878B13E272EF1F(Entity entity, Ped ped, BOOL p2, float x, float y, float z, Hash crimeType); // 0x95878B13E272EF1F b1207

Parameters

#NameType
1entityEntity
2pedPed
3p2BOOL
4xfloat
5yfloat
6zfloat
7crimeTypeHash

Facts

Facts about _0x95878B13E272EF1F
Name
_0x95878B13E272EF1F
Hash
0x95878B13E272EF1F
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 = Citizen.InvokeNative(0x95878B13E272EF1F, -- _0x95878B13E272EF1F
  PlayerPedId(), -- Entity entity
  PlayerPedId(), -- Ped ped
  false, -- BOOL p2
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  GetHashKey("name"), -- Hash crimeType
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x95878B13E272EF1F", // _0x95878B13E272EF1F
  PlayerPedId(), // Entity entity
  PlayerPedId(), // Ped ped
  false, // BOOL p2
  0.0, // float x
  0.0, // float y
  0.0, // float z
  GetHashKey("name"), // Hash crimeType
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x95878B13E272EF1F, // _0x95878B13E272EF1F
  API.PlayerPedId(), // Entity entity
  API.PlayerPedId(), // Ped ped
  false, // BOOL p2
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  (uint)API.GetHashKey("name") // Hash crimeType
);
All LAW natives

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