VehicleMarkerAppearanceRequestPayload
What vehicleMarkerAppearanceRequest gets: the payload a handler receives.
Renamed in 0.28 from VehicleMarkerRequestPayload; see renamed names.
Definition
Section titled “Definition”type VehicleMarkerAppearanceRequestPayload = { vehicle: Entity; isPersistent: boolean; defaultVisible: boolean; defaultColorRgba: number;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
vehicle |
Entity |
The vehicle. |
isPersistent |
boolean |
false for an ambient vehicle: one of the map’s parked cars, or traffic its driver left. |
defaultVisible |
boolean |
The server’s default (vehicle_markers in server.ini, see world.areVehicleMarkersEnabled). |
defaultColorRgba |
number |
The default color, 0xA0A0A0FF (grey). |
Related
Section titled “Related”vehicleMarkerAppearanceRequest: the decision