_0x95878B13E272EF1F
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
Any _0x95878B13E272EF1F(Entity entity, Ped ped, BOOL p2, float x, float y, float z, Hash crimeType); // 0x95878B13E272EF1F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | ped | Ped |
| 3 | p2 | BOOL |
| 4 | x | float |
| 5 | y | float |
| 6 | z | float |
| 7 | crimeType | Hash |
Facts
| 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.
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)// 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)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
);Related LAW natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.