VenuePanicRequestPayload
What venuePanicRequest gets: the payload a handler receives.
Renamed in 0.28 from VenuePanicPayload; see renamed names.
Definition
Section titled “Definition”type VenuePanicRequestPayload = { player: PlayerSnapshot; venue: VenueEntry; interior: number; customerPanic: boolean; bouncersAttack: boolean; staffPanic: boolean;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player who set it off; the bouncers go for them. |
venue |
VenueEntry |
The venue, by GTA:SA’s own name for its interior; see Venues. |
interior |
number |
The interior it is in. |
customerPanic |
boolean |
The customers’ panic: a casino’s gamblers, a bar’s drinkers. |
bouncersAttack |
boolean |
The bouncers turn on the player (casinos and strip clubs). |
staffPanic |
boolean |
The venue’s own panic: its staff and patrons duck or put their hands up. |
Related
Section titled “Related”venuePanicRequest: the decision