playerParachuteOpened
Tells your gamemode that a player’s parachute opened, after playerOpenParachuteRequest
allowed it. Everyone sees it open.
Renamed in 0.28 from parachuteOpened; see renamed names.
Signature
Section titled “Signature”server.on("playerParachuteOpened", ({ player, parachute }) => void)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player. |
parachute |
Parachute |
The parachute, with phase: "opening". |
Example
Section titled “Example”import { server } from "nativemp";
server.on("playerParachuteOpened", ({ player, parachute }) => { server.log(`Player ${player.id} opened parachute ${parachute.deploymentRequestId}.`);});A parachute kept closed by playerOpenParachuteRequest does not send this event.
Related
Section titled “Related”playerOpenParachuteRequest: decide whether it opensplayerParachuteStartedGliding: it started glidingParachute: the parachute’s fields