PedClient

setPedGestureGroup

SET_PED_GESTURE_GROUP0xDDF803377F94AAA8

The GTA V native SET_PED_GESTURE_GROUP of the PED namespace, as LS:MP client scripts call it: the global function setPedGestureGroup, in JavaScript and in Lua.

SignatureJavaScript
setPedGestureGroup(ped: Ped, animGroupGesture: string): void
SignatureLua
setPedGestureGroup(ped: Ped, animGroupGesture: string)

Usage

JavaScript
setPedGestureGroup(ped, animGroupGesture);
Lua
setPedGestureGroup(ped, animGroupGesture)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
animGroupGesturestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

From the scripts:
setPedGestureGroup(playerPedId(),
"ANIM_GROUP_GESTURE_MISS_FRA0");
setPedGestureGroup(playerPedId(),
"ANIM_GROUP_GESTURE_MISS_DocksSetup1");

Reference

Namespace
Ped PED
In the game
void SET_PED_GESTURE_GROUP(Ped ped, const char* animGroupGesture)
Hash
0xDDF803377F94AAA8

Open in the interactive natives reference