Parachute
A player’s parachute, in the parachute events.
Definition
Section titled “Definition”type Parachute = Readonly<{ pedNetworkId: number; playerId: number; deploymentRequestId: number; phase: ParachutePhase; endReason: ParachuteEndReason; startedAtSessionMs: number; landedInWater: boolean;}>;
type ParachutePhase = "inactive" | "opening" | "gliding" | "landing";
type ParachuteEndReason = "none" | "landed" | "interrupted" | "dead" | "disconnected" | "timed-out" | "denied";Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
pedNetworkId |
number |
The network ID of the player’s ped. |
playerId |
number |
The player. |
deploymentRequestId |
number |
This opening’s number for the player’s connection; playerOpenParachuteRequest has it too. |
phase |
ParachutePhase |
opening, gliding, landing, then inactive. |
endReason |
ParachuteEndReason |
none until it ends, then landed, interrupted, dead, disconnected, timed-out or denied. |
startedAtSessionMs |
number |
When it opened, on the shared session clock. |
landedInWater |
boolean |
Whether it landed in water; false before landing. |