TasksClient

waypointPlaybackStartShootingAtPed

WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED0xE70BA7B90F8390DC

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

SignatureJavaScript
waypointPlaybackStartShootingAtPed(
  ped: Ped,
  ped2: Ped,
  p2: boolean,
  p3: boolean
): void
SignatureLua
waypointPlaybackStartShootingAtPed(
  ped: Ped,
  ped2: Ped,
  p2: boolean,
  p3: boolean
)

Usage

JavaScript
waypointPlaybackStartShootingAtPed(ped, ped2, p2, p3);
Lua
waypointPlaybackStartShootingAtPed(ped, ped2, p2, p3)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
ped2Pednumberinteger
p2BOOLbooleanboolean
p3BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED(Ped ped, Ped ped2, BOOL p2, BOOL p3)
Hash
0xE70BA7B90F8390DC

Open in the interactive natives reference