_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
Hash
0x608AD36A644A97FERuntime name
AddModelToEventMonitorNamespaceEVENT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _ADD_MODEL_TO_EVENT_MONITOR(Hash model, BOOL p1, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
model | Hash | — |
p1 | BOOL | — |
p2 | BOOL | — |
Returns void
Description
Models used in the scripts: P_REGISTER05X, P_REGISTER06X, P_REGISTER03X, PLAYER_ZERO, PLAYER_THREE, A_C_HORSE_MORGAN_FLAXENCHESTNUT
Usage
AddModelToEventMonitor(model, p1, p2)
-- always works, by hash
Citizen.InvokeNative(0x608AD36A644A97FE, model, p1, p2)JavaScript and C#
AddModelToEventMonitor(model, p1, p2);
// by hash
Citizen.invokeNative('0x608AD36A644A97FE', model, p1, p2);Function.Call((Hash)0x608AD36A644A97FE, model, p1, p2);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.