TASK_KNOCKED_OUT
Puts the ped into a knocked out state for a specified duration. If 'permanently' is set to true, the ped will remain knocked out until mainually reset. Duration in seconds.
TASKBuild 1207
Signature
lua
TaskKnockedOut(PlayerPedId(), 0.0, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| float | — | |
| BOOL | — |
Usage
lua
TaskKnockedOut(PlayerPedId(), 0.0, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
