TASK_ACHIEVE_HEADING
Makes the specified ped achieve the specified heading. pedHandle: The handle of the ped to assign the task to. heading: The desired heading. timeout: The time, in milliseconds, to allow the task to complete. If the task times out, it is canceled, and the ped will stay at the heading it managed to reach in the time.
TASKBuild 1207
Signature
lua
TaskAchieveHeading(PlayerPedId(), 0.0, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| float | — | |
| int | — |
Usage
lua
TaskAchieveHeading(PlayerPedId(), 0.0, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
