CLEAR_PED_TASKS_IMMEDIATELY
Immediately stops the pedestrian from whatever it's doing. They stop fighting, animations, etc. they forget what they were doing. resetCrouch TRUE = ped will stand up if crouching, FALSE = ped will remain crouching if crouched
TASKBuild 1207
Signature
lua
ClearPedTasksImmediately(PlayerPedId(), true, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| BOOL | — | |
| BOOL | — |
Usage
lua
ClearPedTasksImmediately(PlayerPedId(), true, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
