Skip to content

playerOpenParachuteRequest

Asks your gamemode when a falling player who carries a parachute opens it, by their own key or through players.openParachute. Allowed, the parachute opens for everyone.

Renamed in 0.28 from parachuteOpenRequest; see renamed names.

server.on("playerOpenParachuteRequest", ({ player, position, velocity }) => boolean | void | Promise<boolean | void>)
Name Type Description
player PlayerSnapshot The falling player.
pedNetworkId number The network ID of the player’s ped.
deploymentRequestId number This opening’s number for the player’s connection; the Parachute carries it too.
weapon number The weapon in hand: 46, the parachute.
position Vector3 Where the player is, in metres.
velocity Vector3 How fast they fall, in metres per second.
interior number Always 0: parachutes open only outside.
provenance "client-report" The player’s game reported the position and speed.

false keeps the parachute closed: the player goes on falling. true, or nothing, opens it. See how decisions work.

Open only 100 m or more above sea level.

gamemodes/my-mode.ts
import { server } from "nativemp";
server.on("playerOpenParachuteRequest", ({ position }) => position[2] >= 100);