TasksClientNot in this build

taskSharkCircleCoord

TASK_SHARK_CIRCLE_COORD0x60A19CF85FF4CEFA

The 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.

SignatureJavaScript
taskSharkCircleCoord(
  ped: Ped,
  x: number,
  y: number,
  z: number,
  moveBlendRatio: number,
  radius: number
): void
SignatureLua
taskSharkCircleCoord(
  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

ParameterTypeJavaScriptLua
pedPednumberinteger
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber
moveBlendRatiofloatnumbernumber
radiusfloatnumbernumber

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

Open in the interactive natives reference