The Lab
LAW native

_0xD7494DED50C6EF52

returns void3 paramsbuild 1207

This LAW native has no community name yet, so it is known by its hash 0xD7494DED50C6EF52. It takes 3 parameters (player as Player, crimeType as Hash, p2 as int) and returns nothing.

Signature

C
void _0xD7494DED50C6EF52(Player player, Hash crimeType, int p2); // 0xD7494DED50C6EF52 b1207

Parameters

#NameType
1playerPlayer
2crimeTypeHash
3p2int

Facts

Facts about _0xD7494DED50C6EF52
Name
_0xD7494DED50C6EF52
Hash
0xD7494DED50C6EF52
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0xD7494DED50C6EF52, -- _0xD7494DED50C6EF52
  PlayerId(), -- Player player
  GetHashKey("name"), -- Hash crimeType
  0 -- int p2
)
JavaScript
Citizen.invokeNative("0xD7494DED50C6EF52", // _0xD7494DED50C6EF52
  PlayerId(), // Player player
  GetHashKey("name"), // Hash crimeType
  0 // int p2
);
C#
Function.Call((Hash)0xD7494DED50C6EF52, // _0xD7494DED50C6EF52
  API.PlayerId(), // Player player
  (uint)API.GetHashKey("name"), // Hash crimeType
  0 // int p2
);
All LAW natives

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