TasksClient

waypointPlaybackStartAimingAtPed

WAYPOINT_PLAYBACK_START_AIMING_AT_PED0x20E330937C399D29

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

SignatureJavaScript
waypointPlaybackStartAimingAtPed(ped: Ped, target: Ped, p2: boolean): void
SignatureLua
waypointPlaybackStartAimingAtPed(ped: Ped, target: Ped, p2: boolean)

Usage

JavaScript
waypointPlaybackStartAimingAtPed(ped, target, p2);
Lua
waypointPlaybackStartAimingAtPed(ped, target, p2)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
targetPednumberinteger
p2BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void WAYPOINT_PLAYBACK_START_AIMING_AT_PED(Ped ped, Ped target, BOOL p2)
Hash
0x20E330937C399D29

Open in the interactive natives reference