taskSharkCircleCoord
TASK_SHARK_CIRCLE_COORD0x60A19CF85FF4CEFAThe GTA V native TASK_SHARK_CIRCLE_COORD of the TASK namespace, as LS:MP client scripts call it: the global function taskSharkCircleCoord, in JavaScript and in Lua.
taskSharkCircleCoord(
ped: Ped,
x: number,
y: number,
z: number,
moveBlendRatio: number,
radius: number
): voidtaskSharkCircleCoord(
ped: Ped,
x: number,
y: number,
z: number,
moveBlendRatio: number,
radius: number
)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
taskSharkCircleCoord(ped, x, y, z, moveBlendRatio, radius);Lua
taskSharkCircleCoord(ped, x, y, z, moveBlendRatio, radius)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
taskSharkCircleCoord(ped, pos, moveBlendRatio, radius);Lua · with vectors
taskSharkCircleCoord(ped, pos, moveBlendRatio, radius)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
moveBlendRatio | float | number | number |
radius | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_SHARK_CIRCLE_COORD(Ped ped, float x, float y, float z, float moveBlendRatio, float radius)- Hash
0x60A19CF85FF4CEFA- Introduced
- Game build 3407 legacy numbering