PedClient

setPedCanPlayVisemeAnims

SET_PED_CAN_PLAY_VISEME_ANIMS0xF833DDBA3B104D43

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

SignatureJavaScript
setPedCanPlayVisemeAnims(ped: Ped, toggle: boolean, p2: boolean): void
SignatureLua
setPedCanPlayVisemeAnims(ped: Ped, toggle: boolean, p2: boolean)

Usage

JavaScript
setPedCanPlayVisemeAnims(ped, toggle, p2);
Lua
setPedCanPlayVisemeAnims(ped, toggle, p2)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean
p2BOOLbooleanboolean

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.

p2 usually 0

Reference

Namespace
Ped PED
In the game
void SET_PED_CAN_PLAY_VISEME_ANIMS(Ped ped, BOOL toggle, BOOL p2)
Hash
0xF833DDBA3B104D43

Open in the interactive natives reference