The Lab
TASK native

TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE

returns void7 paramsbuild 1207

Puts ped directly into a grapple with grappleTarget using grappleStyle.

Signature

C
void TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE(Ped ped, Ped grappleTarget, Hash grappleStyle, float p3, float p4, BOOL p5, int p6); // 0xA05F3F20889D7A5B b1207

Parameters

#NameType
1pedPed
2grappleTargetPed
3grappleStyleHash
4p3float
5p4float
6p5BOOL
7p6int

Facts

Facts about TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE
Name
TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE
Hash
0xA05F3F20889D7A5B
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(0xA05F3F20889D7A5B, -- TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE
  PlayerPedId(), -- Ped ped
  PlayerPedId(), -- Ped grappleTarget
  GetHashKey("name"), -- Hash grappleStyle
  0.0, -- float p3
  0.0, -- float p4
  false, -- BOOL p5
  0 -- int p6
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xA05F3F20889D7A5B", // TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE
  PlayerPedId(), // Ped ped
  PlayerPedId(), // Ped grappleTarget
  GetHashKey("name"), // Hash grappleStyle
  0.0, // float p3
  0.0, // float p4
  false, // BOOL p5
  0 // int p6
);
C#
Function.Call((Hash)0xA05F3F20889D7A5B, // TASK_PUT_PED_DIRECTLY_INTO_GRAPPLE
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId(), // Ped grappleTarget
  (uint)API.GetHashKey("name"), // Hash grappleStyle
  0.0f, // float p3
  0.0f, // float p4
  false, // BOOL p5
  0 // int p6
);
All TASK natives

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