The Lab
ENTITY native

REMOVE_MODEL_SWAP

returns void7 paramsbuild 1207

Removes a model swap created with CREATE_MODEL_SWAP.

Signature

C
void REMOVE_MODEL_SWAP(float x, float y, float z, float radius, Hash originalModel, Hash newModel, BOOL p6); // 0x824E1C26A14CB817 b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat
4radiusfloat
5originalModelHash
6newModelHash
7p6BOOL

Facts

Facts about REMOVE_MODEL_SWAP
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.

Lua
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
)
JavaScript
// 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
);
C#
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
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.