The Lab
PED native

_SET_PED_GRAPPLE_FLAG

returns void3 paramsbuild 1207

Enables or disables the grapple flag flag on ped.

Signature

C
void _SET_PED_GRAPPLE_FLAG(Ped ped, int flag, BOOL enable); // 0x789DABD18E9024DB b1207

Parameters

#NameType
1pedPed
2flagint
3enableBOOL

Facts

Facts about _SET_PED_GRAPPLE_FLAG
Name
_SET_PED_GRAPPLE_FLAG
Hash
0x789DABD18E9024DB
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(0x789DABD18E9024DB, -- _SET_PED_GRAPPLE_FLAG
  PlayerPedId(), -- Ped ped
  0, -- int flag
  false -- BOOL enable
)
JavaScript
Citizen.invokeNative("0x789DABD18E9024DB", // _SET_PED_GRAPPLE_FLAG
  PlayerPedId(), // Ped ped
  0, // int flag
  false // BOOL enable
);
C#
Function.Call((Hash)0x789DABD18E9024DB, // _SET_PED_GRAPPLE_FLAG
  API.PlayerPedId(), // Ped ped
  0, // int flag
  false // BOOL enable
);
All PED natives

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