SetPedCanPlayAmbientIdles — FiveM Natives
0x8FD89A6240813FD0 · TASK · all
Prevents a ped from playing ambient idle animations. Note: This native must be called every frame.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | Ped index. |
| bBlockIdleClips | BOOL | If true, prevents a ped from playing an idle animation this frame. |
| bRemoveIdleClipIfPlaying | BOOL | If true and the ped is playing an idle animation, the clip is stopped. |
Returns
void