SharedFireWaterInteractionRequestPayload
What sharedFireWaterInteractionRequest gets: the payload a handler receives.
Renamed in 0.28 from FireInteractionPayload; see renamed names.
Definition
Section titled “Definition”type SharedFireWaterInteractionRequestPayload = { player: PlayerSnapshot; fireId: string; senderPedNetworkId: number; interactionKind: "water"; interior: number; strengthLoss: number;};Fields
Section titled “Fields”| 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. |
Related
Section titled “Related”sharedFireWaterInteractionRequest: the decision