The Lab
LAW native

_0xB527099D1E1EED49

returns BOOL3 paramsbuild 1207

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

Signature

C
BOOL _0xB527099D1E1EED49(Player player, int p1, Hash* crimeType); // 0xB527099D1E1EED49 b1207

Parameters

#NameType
1playerPlayer
2p1int
3crimeTypeHash* (out pointer)

Facts

Facts about _0xB527099D1E1EED49
Name
_0xB527099D1E1EED49
Hash
0xB527099D1E1EED49
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result, crimeType = Citizen.InvokeNative(0xB527099D1E1EED49, -- _0xB527099D1E1EED49
  PlayerId(), -- Player player
  0, -- int p1
  Citizen.PointerValueInt(), -- Hash* crimeType
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, crimeType] = Citizen.invokeNative("0xB527099D1E1EED49", // _0xB527099D1E1EED49
  PlayerId(), // Player player
  0, // int p1
  Citizen.pointerValueInt(), // Hash* crimeType
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var crimeTypeArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xB527099D1E1EED49, // _0xB527099D1E1EED49
  API.PlayerId(), // Player player
  0, // int p1
  crimeTypeArg // Hash* crimeType
);
int crimeType = crimeTypeArg.GetResult<int>();
All LAW natives

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