PedClient

setPedMotionInCoverClipsetOverride

SET_PED_MOTION_IN_COVER_CLIPSET_OVERRIDE0x9DBA107B4937F809

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

SignatureJavaScript
setPedMotionInCoverClipsetOverride(ped: Ped, p1: string): void
SignatureLua
setPedMotionInCoverClipsetOverride(ped: Ped, p1: string)

Usage

JavaScript
setPedMotionInCoverClipsetOverride(ped, p1);
Lua
setPedMotionInCoverClipsetOverride(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1stringstringstring

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.

Found in the b617d scripts:

setPedMotionInCoverClipsetOverride(v_7, "trevor_heist_cover_2h");

Reference

Namespace
Ped PED
In the game
void SET_PED_MOTION_IN_COVER_CLIPSET_OVERRIDE(Ped ped, const char* p1)
Hash
0x9DBA107B4937F809
Formerly
_SET_PED_COVER_CLIPSET_OVERRIDE

Open in the interactive natives reference