Skip to content

MolotovImpactReportedPayload

What molotovImpactReported gets: the payload a handler receives.

Renamed in 0.28 from ExplosionObservedPayload; see renamed names.

type MolotovImpactReportedPayload = Readonly<{
impactId: string; reporterPedNetworkId: number; player: PlayerSnapshot; impactKind: "molotov"; position: Vector3; interior: number;
provenance: "client-report";
}>;
Field Type Description
impactId string The hit’s ID, a decimal string. Keep it as a string.
reporterPedNetworkId number The network ID of the reporting player’s ped.
player PlayerSnapshot The player whose game saw it.
impactKind "molotov" Always a Molotov for now.
position Vector3 Where it hit.
interior number The interior, 0 outside.
provenance "client-report" A player’s game reported it: an observation, not proof of who threw it or what it hurt.