Game codeUnofficial name
VOLUME::_CREATE_ANTI_GRIEF_VOLUME
0xEA99CA4EF14873D4 ·RVA 0x04A800C0
Signature
Volume _CREATE_ANTI_GRIEF_VOLUME(
Hash volumeType,
Vector3 pos,
Vector3 rot,
Vector3 scale,
Any p4
);
The scripts pass 8 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash | volumeType |
– |
| 1 | Vector3 | pos |
– |
| 2 | Vector3 | rot |
– |
| 3 | Vector3 | scale |
– |
| 4 | Any | p4 |
the game doesn't read it. |
Returns
Volume
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 nothing (it is ignored), and the game doesn't read it.
Call it
// VOLUME::_CREATE_ANTI_GRIEF_VOLUME
auto result = invoke<Volume>(0xEA99CA4EF14873D4, volumeType, pos, rot, scale, p4);// VOLUME::_CREATE_ANTI_GRIEF_VOLUME
int result = Function.Call<int>((Hash)0xEA99CA4EF14873D4, volumeType, pos, rot, scale, p4);-- VOLUME::_CREATE_ANTI_GRIEF_VOLUME
local result = Citizen.InvokeNative(0xEA99CA4EF14873D4, volumeType, pos, rot, scale, p4)// VOLUME::_CREATE_ANTI_GRIEF_VOLUME
const result = Citizen.invokeNative("0xEA99CA4EF14873D4", volumeType, pos, rot, scale, 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.