Game code
PED::GET_GROUP_SIZE
0xA35F65BA7219601C ·RVA 0x04BCAE70
Signature
void GET_GROUP_SIZE(
Ped p0,
BOOL* hasLeader,
int* numberOfFollowers
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | p0 |
– |
| 1 | BOOL* | hasLeader |
– |
| 2 | int* | numberOfFollowers |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- groupId, in RDR3's signature, is not passed in GTA VI.
- p0 is not in RDR3's signature; the game reads it as a 16-byte value, and the scripts pass Ped values.
Call it
// PED::GET_GROUP_SIZE
invoke<Void>(0xA35F65BA7219601C, p0, &hasLeader, &numberOfFollowers);// PED::GET_GROUP_SIZE
Function.Call((Hash)0xA35F65BA7219601C, p0, hasLeader, numberOfFollowers);-- PED::GET_GROUP_SIZE
Citizen.InvokeNative(0xA35F65BA7219601C, p0, hasLeader, numberOfFollowers)// PED::GET_GROUP_SIZE
Citizen.invokeNative("0xA35F65BA7219601C", p0, hasLeader, numberOfFollowers);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.