TasksClient

taskParachuteToTarget

TASK_PARACHUTE_TO_TARGET0xB33E291AFA6BD03A

The GTA V native TASK_PARACHUTE_TO_TARGET of the TASK namespace, as LS:MP client scripts call it: the global function taskParachuteToTarget, in JavaScript and in Lua.

SignatureJavaScript
taskParachuteToTarget(ped: Ped, x: number, y: number, z: number): void
SignatureLua
taskParachuteToTarget(ped: Ped, x: number, y: number, z: number)

Usage

JavaScript
taskParachuteToTarget(ped, x, y, z);
Lua
taskParachuteToTarget(ped, x, y, z)

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
taskParachuteToTarget(ped, pos);
Lua · with vectors
taskParachuteToTarget(ped, pos)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

makes ped parachute to coords x y z. Works well with getSafeCoordForPed

Reference

Namespace
Tasks TASK
In the game
void TASK_PARACHUTE_TO_TARGET(Ped ped, float x, float y, float z)
Hash
0xB33E291AFA6BD03A

Open in the interactive natives reference