RedM Natives

_0xEDFC6C1FD1C964F5

_SET_C* - _SET_D*

Hash0xEDFC6C1FD1C964F5
Runtime nameN_0xedfc6c1fd1c964f5
NamespaceLAW
SideClient
NameHash only
Docs
Since build1207

Signature

void _0xEDFC6C1FD1C964F5(Player player, Hash crimeType, int bounty, float p3, float p4, BOOL p5, float p6, float p7, Any p8);

Parameters

NameTypeDescription
playerPlayer—
crimeTypeHash—
bountyint—
p3float—
p4float—
p5BOOL—
p6float—
p7float—
p8Any—

Returns void

Description

_SET_C* - _SET_D*

Usage

Lua
N_0xedfc6c1fd1c964f5(player, crimeType, bounty, p3, p4, p5, p6, p7, p8)

-- always works, by hash
Citizen.InvokeNative(0xEDFC6C1FD1C964F5, player, crimeType, bounty, p3, p4, p5, p6, p7, p8)
JavaScript and C#
JavaScript
N_0xedfc6c1fd1c964f5(player, crimeType, bounty, p3, p4, p5, p6, p7, p8);

// by hash
Citizen.invokeNative('0xEDFC6C1FD1C964F5', player, crimeType, bounty, p3 + 0.0000001, p4 + 0.0000001, p5, p6 + 0.0000001, p7 + 0.0000001, p8);
C#
Function.Call((Hash)0xEDFC6C1FD1C964F5, player, crimeType, bounty, p3, p4, p5, p6, p7, p8);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • This native has no known name, so the runtime exposes it only as N_0xedfc6c1fd1c964f5 (if present in the client snapshot). InvokeNative with the hash always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.