RedM Natives

_ADD_MODEL_TO_EVENT_MONITOR

Models used in the scripts: P_REGISTER05X, P_REGISTER06X, P_REGISTER03X, PLAYER_ZERO, PLAYER_THREE, A_C_HORSE_MORGAN_FLAXENCHESTNUT

Hash0x608AD36A644A97FE
Runtime nameAddModelToEventMonitor
NamespaceEVENT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ADD_MODEL_TO_EVENT_MONITOR(Hash model, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
modelHash—
p1BOOL—
p2BOOL—

Returns void

Description

Models used in the scripts: P_REGISTER05X, P_REGISTER06X, P_REGISTER03X, PLAYER_ZERO, PLAYER_THREE, A_C_HORSE_MORGAN_FLAXENCHESTNUT

Usage

Lua
AddModelToEventMonitor(model, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0x608AD36A644A97FE, model, p1, p2)
JavaScript and C#
JavaScript
AddModelToEventMonitor(model, p1, p2);

// by hash
Citizen.invokeNative('0x608AD36A644A97FE', model, p1, p2);
C#
Function.Call((Hash)0x608AD36A644A97FE, model, p1, p2);
  • 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`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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