Game code
PED::GET_PED_GROUP_INDEX
0x4B18598A0E9D1ECC ·RVA 0x04BCC890
Signature
Ped GET_PED_GROUP_INDEX(Ped ped);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
Returns
Ped
RDR3 says int; the game writes a Ped.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// PED::GET_PED_GROUP_INDEX
auto result = invoke<Ped>(0x4B18598A0E9D1ECC, ped);// PED::GET_PED_GROUP_INDEX
int result = Function.Call<int>((Hash)0x4B18598A0E9D1ECC, ped);-- PED::GET_PED_GROUP_INDEX
local result = Citizen.InvokeNative(0x4B18598A0E9D1ECC, ped)// PED::GET_PED_GROUP_INDEX
const result = Citizen.invokeNative("0x4B18598A0E9D1ECC", ped);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.