Skip to content

SharedFireWaterInteractionRequestPayload

What sharedFireWaterInteractionRequest gets: the payload a handler receives.

Renamed in 0.28 from FireInteractionPayload; see renamed names.

type SharedFireWaterInteractionRequestPayload = {
player: PlayerSnapshot; fireId: string; senderPedNetworkId: number; interactionKind: "water"; interior: number; strengthLoss: number;
};
Field Type Description
player PlayerSnapshot The player spraying the water.
fireId string The fire, as in fires.getById.
senderPedNetworkId number The network ID of that player’s ped.
interactionKind "water" Always water for now.
interior number The interior, the same as the player’s and the fire’s.
strengthLoss number How much weaker the fire gets, more than 0 and at most 0.25.