The Lab
PED native

_SET_PED_GRAPPLE_ACTION

returns void2 paramsbuild 1207

Sets the grapple action grappleAction for ped.

Signature

C
void _SET_PED_GRAPPLE_ACTION(Ped ped, Hash grappleAction); // 0x8301D87B1B89E219 b1207

Parameters

#NameType
1pedPed
2grappleActionHash

Facts

Facts about _SET_PED_GRAPPLE_ACTION
Name
_SET_PED_GRAPPLE_ACTION
Hash
0x8301D87B1B89E219
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x8301D87B1B89E219, -- _SET_PED_GRAPPLE_ACTION
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash grappleAction
)
JavaScript
Citizen.invokeNative("0x8301D87B1B89E219", // _SET_PED_GRAPPLE_ACTION
  PlayerPedId(), // Ped ped
  GetHashKey("name") // Hash grappleAction
);
C#
Function.Call((Hash)0x8301D87B1B89E219, // _SET_PED_GRAPPLE_ACTION
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash grappleAction
);
All PED natives

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