setPedCanPlayAmbientBaseAnims
SET_PED_CAN_PLAY_AMBIENT_BASE_ANIMS0x0EB0585D15254740The GTA V native SET_PED_CAN_PLAY_AMBIENT_BASE_ANIMS of the PED namespace, as LS:MP client scripts call it: the global function setPedCanPlayAmbientBaseAnims, in JavaScript and in Lua.
setPedCanPlayAmbientBaseAnims(ped: Ped, toggle: boolean): voidsetPedCanPlayAmbientBaseAnims(ped: Ped, toggle: boolean)Usage
JavaScript
setPedCanPlayAmbientBaseAnims(ped, toggle);Lua
setPedCanPlayAmbientBaseAnims(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_CAN_PLAY_AMBIENT_BASE_ANIMS(Ped ped, BOOL toggle)- Hash
0x0EB0585D15254740