waypointPlaybackStartAimingAtPed
WAYPOINT_PLAYBACK_START_AIMING_AT_PED0x20E330937C399D29The 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.
waypointPlaybackStartAimingAtPed(ped: Ped, target: Ped, p2: boolean): voidwaypointPlaybackStartAimingAtPed(ped: Ped, target: Ped, p2: boolean)Usage
JavaScript
waypointPlaybackStartAimingAtPed(ped, target, p2);Lua
waypointPlaybackStartAimingAtPed(ped, target, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
target | Ped | number | integer |
p2 | BOOL | boolean | boolean |
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