RedM Natives

_SET_PED_GRAPPLE_STYLE

Hash0x630E7B01F091A197
Runtime nameSetPedGrappleStyle
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Any _SET_PED_GRAPPLE_STYLE(Ped ped, Hash style);

Parameters

NameTypeDescription
pedPed—
styleHash—

Returns Any

Description

Hashes: GS_DRAGGING, GS_FACE_TO_BACK, GS_FACE_TO_FACE, GS_FACE_TO_FACE_WALL, GS_MOUNTED

Usage

Lua
local retval = SetPedGrappleStyle(ped, style)

-- always works, by hash
local retval = Citizen.InvokeNative(0x630E7B01F091A197, ped, style, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = SetPedGrappleStyle(ped, style);

// by hash
const retval = Citizen.invokeNative('0x630E7B01F091A197', ped, style, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x630E7B01F091A197, ped, style);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.