taskRappelDownWallUsingClipsetOverride
TASK_RAPPEL_DOWN_WALL_USING_CLIPSET_OVERRIDE0xEAF66ACDDC794793The GTA V native TASK_RAPPEL_DOWN_WALL_USING_CLIPSET_OVERRIDE of the TASK namespace, as LS:MP client scripts call it: the global function taskRappelDownWallUsingClipsetOverride, in JavaScript and in Lua.
taskRappelDownWallUsingClipsetOverride(
ped: Ped,
x1: number,
y1: number,
z1: number,
x2: number,
y2: number,
z2: number,
minZ: number,
ropeHandle: number,
clipSet: string,
p10: any,
p11: any
): voidtaskRappelDownWallUsingClipsetOverride(
ped: Ped,
x1: number,
y1: number,
z1: number,
x2: number,
y2: number,
z2: number,
minZ: number,
ropeHandle: integer,
clipSet: string,
p10: any,
p11: any
)Usage
taskRappelDownWallUsingClipsetOverride(
ped, x1, y1, z1, x2, y2, z2, minZ, ropeHandle, clipSet, p10, p11
);taskRappelDownWallUsingClipsetOverride(
ped, x1, y1, z1, x2, y2, z2, minZ, ropeHandle, clipSet, p10, p11
)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
taskRappelDownWallUsingClipsetOverride(ped, pos1, pos2, minZ, ropeHandle, clipSet, p10, p11);taskRappelDownWallUsingClipsetOverride(ped, pos1, pos2, minZ, ropeHandle, clipSet, p10, p11)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
x1 | float | number | number |
y1 | float | number | number |
z1 | float | number | number |
x2 | float | number | number |
y2 | float | number | number |
z2 | float | number | number |
minZ | float | number | number |
ropeHandle | int | number | integer |
clipSet | string | string | string |
p10 | Any | any | any |
p11 | Any | any | any |
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.
Attaches a ped to a rope and allows player control to rappel down a wall. Disables all collisions while on the rope.
p10: Usually 1 in the scripts, clipSet: Clipset to use for the task, minZ: Minimum Z that the player can descend to, ropeHandle: Rope to attach this task to created with addRope
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_RAPPEL_DOWN_WALL_USING_CLIPSET_OVERRIDE(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float minZ, int ropeHandle, const char* clipSet, Any p10, Any p11)- Hash
0xEAF66ACDDC794793- Introduced
- Game build 1868 legacy numbering
- Formerly
TASK_RAPPEL_DOWN_WALL