CREATE_MODEL_HIDE
Hides map objects of model within radius of the given coordinates.
Undo it with REMOVE_MODEL_HIDE.
Signature
void CREATE_MODEL_HIDE(float x, float y, float z, float radius, Hash model, BOOL p5); // 0x069848B3FB3C4426 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | radius | float |
| 5 | model | Hash |
| 6 | p5 | BOOL |
Facts
| Name | CREATE_MODEL_HIDE |
|---|---|
| Hash | 0x069848B3FB3C4426 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x069848B3FB3C4426, -- CREATE_MODEL_HIDE
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float radius
GetHashKey("a_c_horse_arabian_white"), -- Hash model
false -- BOOL p5
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x069848B3FB3C4426", // CREATE_MODEL_HIDE
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float radius
GetHashKey("a_c_horse_arabian_white"), // Hash model
false // BOOL p5
);Function.Call((Hash)0x069848B3FB3C4426, // CREATE_MODEL_HIDE
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f, // float radius
(uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash model
false // BOOL p5
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.