The Lab
PED native

_GET_PED_GRAPPLER

returns Ped1 parambuild 1207

Returns the ped grappling ped, if any.

Signature

C
Ped _GET_PED_GRAPPLER(Ped ped); // 0xD0B7AEB56229D317 b1207

Parameters

#NameType
1pedPed

Facts

Facts about _GET_PED_GRAPPLER
Name
_GET_PED_GRAPPLER
Hash
0xD0B7AEB56229D317
Namespace
Returns
Ped
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local ped = Citizen.InvokeNative(0xD0B7AEB56229D317, -- _GET_PED_GRAPPLER
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xD0B7AEB56229D317", // _GET_PED_GRAPPLER
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xD0B7AEB56229D317, // _GET_PED_GRAPPLER
  API.PlayerPedId() // Ped ped
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.