REMOVE_MODEL_SWAP
Removes a model swap created with CREATE_MODEL_SWAP.
Signature
void REMOVE_MODEL_SWAP(float x, float y, float z, float radius, Hash originalModel, Hash newModel, BOOL p6); // 0x824E1C26A14CB817 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | radius | float |
| 5 | originalModel | Hash |
| 6 | newModel | Hash |
| 7 | p6 | BOOL |
Facts
| Name | REMOVE_MODEL_SWAP |
|---|---|
| Hash | 0x824E1C26A14CB817 |
| 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(0x824E1C26A14CB817, -- REMOVE_MODEL_SWAP
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float radius
GetHashKey("a_c_horse_arabian_white"), -- Hash originalModel
GetHashKey("a_c_horse_arabian_white"), -- Hash newModel
false -- BOOL p6
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x824E1C26A14CB817", // REMOVE_MODEL_SWAP
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float radius
GetHashKey("a_c_horse_arabian_white"), // Hash originalModel
GetHashKey("a_c_horse_arabian_white"), // Hash newModel
false // BOOL p6
);Function.Call((Hash)0x824E1C26A14CB817, // REMOVE_MODEL_SWAP
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 originalModel
(uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash newModel
false // BOOL p6
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.