_SET_PED_GRAPPLE_STYLE
Hash
0x630E7B01F091A197Runtime name
SetPedGrappleStyleNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Any _SET_PED_GRAPPLE_STYLE(Ped ped, Hash style);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
style | Hash | — |
Returns Any
Description
Hashes: GS_DRAGGING, GS_FACE_TO_BACK, GS_FACE_TO_FACE, GS_FACE_TO_FACE_WALL, GS_MOUNTED
Usage
local retval = SetPedGrappleStyle(ped, style)
-- always works, by hash
local retval = Citizen.InvokeNative(0x630E7B01F091A197, ped, style, Citizen.ResultAsInteger())JavaScript and C#
const retval = SetPedGrappleStyle(ped, style);
// by hash
const retval = Citizen.invokeNative('0x630E7B01F091A197', ped, style, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x630E7B01F091A197, ped, style);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.