RDR3 match
ENTITY::CREATE_MODEL_SWAP
0xDF490A53EF4DDE7C ·RVA 0x03C06C30
Signature
void CREATE_MODEL_SWAP(
Vector3 pos,
float radius,
Hash64 originalModel,
Hash64 newModel,
BOOL p6
);
The scripts pass 6 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | float | radius |
– |
| 2 | Hash64 | originalModel |
RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
| 3 | Hash64 | newModel |
RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
| 4 | BOOL | p6 |
– |
Returns
void Nothing.
Call it
// ENTITY::CREATE_MODEL_SWAP
invoke<Void>(0xDF490A53EF4DDE7C, pos, radius, originalModel, newModel, p6);// ENTITY::CREATE_MODEL_SWAP
Function.Call((Hash)0xDF490A53EF4DDE7C, pos, radius, originalModel, newModel, p6);-- ENTITY::CREATE_MODEL_SWAP
Citizen.InvokeNative(0xDF490A53EF4DDE7C, pos, radius, originalModel, newModel, p6)// ENTITY::CREATE_MODEL_SWAP
Citizen.invokeNative("0xDF490A53EF4DDE7C", pos, radius, originalModel, newModel, p6);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.