_TASK_RAPPEL_DOWN_WALL
DocsTaskRappelDownWall(ped, x1, y1, z1, x2, y2, z2, minZ, ropeId, clipset, p10)Description
Attaches a ped to a rope and allows player control to rappel down a wall.
Disables all collisions while on the rope.
NativeDB Introduced: v1868
Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | Ped to perform the task |
x1 | float | X coord to start the task |
y1 | float | Y coord to start the task |
z1 | float | Z coord to start the task |
x2 | float | Second X coord, uses the same position as above in the scripts |
y2 | float | Second Y coord |
z2 | float | Second Z coord |
minZ | float | Minimum Z that the player can descend to |
ropeId | int | Rope to attach this task to, must be created with [ADD_ROPE](#\_0xE832D760399EB220) |
clipset | char* | Clipset to use for the task |
p10 | Any | Usually 1 in the scripts |
Quick Snippet: Get Coordinatesx1y1z1x2
x1y1z1x2Add this command to your client script to retrieve precise locations in-game.
-- Add this to your client.lua. Type /pos in-game to copy coords.
RegisterCommand('pos', function()
local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local heading = GetEntityHeading(ped)
local output = string.format("vector4(%.2f, %.2f, %.2f, %.2f)", coords.x, coords.y, coords.z, heading)
print(output)
TriggerEvent('chat:addMessage', { args = { '^4[COORD]^0', output } })
end)Quick Snippet: Get Ped Handleped
pedUse this to get the player ped handle for this native.
-- Get the player's ped handle (client-side)
local ped = PlayerPedId()
print("Ped handle: " .. ped)
-- For a specific player's ped (server-side):
-- local targetPed = GetPlayerPed(source)Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
voidThis native does not return a value.
Examples
Official
local coords = vector3(258.68, -3311.5, 45.72)
RopeLoadTextures()
SetEntityCoords(PlayerPedId(), coords - vector3(0, 0, 10.0))
local ropeId = AddRope(coords, -90.0, 90.0, -90.0, 78.0, 7, 78.0, 78.0, 1.2, false, false, true, 10.0, false, 0)
TaskRappelDownWall(PlayerPedId(), coords, coords, -130.0, ropeId, "clipset@anim_heist@hs3f@ig1_rappel@male", 1)
N_0xa1ae736541b0fca3(ropeId, true)
PinRopeVertex(ropeId, (GetRopeVertexCount(ropeId) - 1), coords + vector3(0, 0, 1.0))
RopeSetUpdateOrder(ropeId, 0)