RedM Natives

_0xA90684ED185CCB4B

Only used in R* Script mob4 and rcm_mason4 _SET_PED_DEFENSIVE_* - _SET_PED_DESIRED_*

Hash0xA90684ED185CCB4B
Runtime nameN_0xa90684ed185ccb4b
NamespacePED
SideClient
NameHash only
Docs
Since build1207

Signature

void _0xA90684ED185CCB4B(Ped animal, BOOL p1, float p2, float p3);

Parameters

NameTypeDescription
animalPed—
p1BOOL—
p2float—
p3float—

Returns void

Description

Only used in R* Script mob4 and rcm_mason4
_SET_PED_DEFENSIVE_* - _SET_PED_DESIRED_*

Usage

Lua
N_0xa90684ed185ccb4b(animal, p1, p2, p3)

-- always works, by hash
Citizen.InvokeNative(0xA90684ED185CCB4B, animal, p1, p2, p3)
JavaScript and C#
JavaScript
N_0xa90684ed185ccb4b(animal, p1, p2, p3);

// by hash
Citizen.invokeNative('0xA90684ED185CCB4B', animal, p1, p2 + 0.0000001, p3 + 0.0000001);
C#
Function.Call((Hash)0xA90684ED185CCB4B, animal, p1, p2, p3);
  • 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_0xa90684ed185ccb4b (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.