_SET_PED_GRAPPLE_ACTION
Hash
0x8301D87B1B89E219Runtime name
SetPedGrappleActionNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_GRAPPLE_ACTION(Ped ped, Hash grappleAction);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
grappleAction | Hash | — |
Returns void
Usage
SetPedGrappleAction(ped, grappleAction)
-- always works, by hash
Citizen.InvokeNative(0x8301D87B1B89E219, ped, grappleAction)JavaScript and C#
SetPedGrappleAction(ped, grappleAction);
// by hash
Citizen.invokeNative('0x8301D87B1B89E219', ped, grappleAction);Function.Call((Hash)0x8301D87B1B89E219, ped, grappleAction);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.