Skip to content

VehicleMarkerAppearanceRequestPayload

What vehicleMarkerAppearanceRequest gets: the payload a handler receives.

Renamed in 0.28 from VehicleMarkerRequestPayload; see renamed names.

type VehicleMarkerAppearanceRequestPayload = {
vehicle: Entity; isPersistent: boolean; defaultVisible: boolean; defaultColorRgba: number;
};
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).