RedM Natives

_0xB05CC690CDE8A4A9

Used to set up bad guy groups in nb_kidnapped R* Script (MP_RE_KIDNAPPED): p1 = 4.f _SET_FORMATION_*

Hash0xB05CC690CDE8A4A9
Runtime nameN_0xb05cc690cde8a4a9
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

BOOL _0xB05CC690CDE8A4A9(int groupId, float p1);

Parameters

NameTypeDescription
groupIdint—
p1float—

Returns BOOL

Description

Used to set up bad guy groups in nb_kidnapped R* Script (MP_RE_KIDNAPPED): p1 = 4.f
_SET_FORMATION_*

Usage

Lua
local retval = N_0xb05cc690cde8a4a9(groupId, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB05CC690CDE8A4A9, groupId, p1, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = N_0xb05cc690cde8a4a9(groupId, p1);

// by hash
const retval = Citizen.invokeNative('0xB05CC690CDE8A4A9', groupId, p1 + 0.0000001, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB05CC690CDE8A4A9, groupId, p1);
  • 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_0xb05cc690cde8a4a9 (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.