PedClient

setPedWeaponMovementClipset

SET_PED_WEAPON_MOVEMENT_CLIPSET0x2622E35B77D3ACA2

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

SignatureJavaScript
setPedWeaponMovementClipset(ped: Ped, clipSet: string): void
SignatureLua
setPedWeaponMovementClipset(ped: Ped, clipSet: string)

Usage

JavaScript
setPedWeaponMovementClipset(ped, clipSet);
Lua
setPedWeaponMovementClipset(ped, clipSet)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
clipSetstringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_WEAPON_MOVEMENT_CLIPSET(Ped ped, const char* clipSet)
Hash
0x2622E35B77D3ACA2

Open in the interactive natives reference