TASK_GO_STRAIGHT_TO_COORD
Tells the ped to go to a coord, without using the navemesh. if timeBeforeTeleport is -1 the ped will never warp, p8 is always 0 or 1 still unknown
TASKBuild 1207
Signature
lua
TaskGoStraightToCoord(PlayerPedId(), 0.0, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| int | — | |
| float | — | |
| float | — | |
| int | — |
Usage
lua
TaskGoStraightToCoord(PlayerPedId(), 0.0, 0.0, 0.0, 0.0, 0, 0.0, 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
