Game code
ENTITY::CREATE_MODEL_HIDE
0x04C3BBD9F967B74C ·RVA 0x03C06BC0
Signature
void CREATE_MODEL_HIDE(
Vector3 pos,
float radius,
Hash64 model,
BOOL p5,
BOOL p4
);
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 | model |
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 | BOOL | p5 |
– |
| 4 | BOOL | p4 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p4 is not in RDR3's signature; the game reads it as a true/false value.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// ENTITY::CREATE_MODEL_HIDE
invoke<Void>(0x04C3BBD9F967B74C, pos, radius, model, p5, p4);// ENTITY::CREATE_MODEL_HIDE
Function.Call((Hash)0x04C3BBD9F967B74C, pos, radius, model, p5, p4);-- ENTITY::CREATE_MODEL_HIDE
Citizen.InvokeNative(0x04C3BBD9F967B74C, pos, radius, model, p5, p4)// ENTITY::CREATE_MODEL_HIDE
Citizen.invokeNative("0x04C3BBD9F967B74C", pos, radius, model, p5, p4);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.