waypointPlaybackStartAimingAtCoord
WAYPOINT_PLAYBACK_START_AIMING_AT_COORD0x8968400D900ED8B3The GTA V native WAYPOINT_PLAYBACK_START_AIMING_AT_COORD of the TASK namespace, as LS:MP client scripts call it: the global function waypointPlaybackStartAimingAtCoord, in JavaScript and in Lua.
waypointPlaybackStartAimingAtCoord(
ped: Ped,
x: number,
y: number,
z: number,
p4: boolean
): voidwaypointPlaybackStartAimingAtCoord(
ped: Ped,
x: number,
y: number,
z: number,
p4: boolean
)Usage
JavaScript
waypointPlaybackStartAimingAtCoord(ped, x, y, z, p4);Lua
waypointPlaybackStartAimingAtCoord(ped, x, y, z, p4)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
waypointPlaybackStartAimingAtCoord(ped, pos, p4);Lua · with vectors
waypointPlaybackStartAimingAtCoord(ped, pos, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
p4 | 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_COORD(Ped ped, float x, float y, float z, BOOL p4)- Hash
0x8968400D900ED8B3