StreamingClient

requestAnimSet

REQUEST_ANIM_SET0x6EA47DAE7FAD0EED

The GTA V native REQUEST_ANIM_SET of the STREAMING namespace, as LS:MP client scripts call it: the global function requestAnimSet, in JavaScript and in Lua.

SignatureJavaScript
requestAnimSet(animSet: string): void
SignatureLua
requestAnimSet(animSet: string)

Usage

JavaScript
requestAnimSet(animSet);
Lua
requestAnimSet(animSet)

Parameters

ParameterTypeJavaScriptLua
animSetstringstringstring

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.

Starts loading the specified animation set. An animation set provides movement animations for a ped. See setPedMovementClipset.

Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json

Full list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json

Reference

Namespace
Streaming STREAMING
In the game
void REQUEST_ANIM_SET(const char* animSet)
Hash
0x6EA47DAE7FAD0EED

Open in the interactive natives reference