BlipManager
@vimp-mp/types 2.0.1Manages blip instances in this scripting context.
ts
interface BlipManagerMembers
all
ts
readonly all: Array<Blip>All currently alive blips.
create
ts
create(sprite: number, x: number, y: number, z: number, color: number, scale: number, extras?: BlipExtras): Blip | nullCreate a blip. sprite is the blip icon id (any GTA blip sprite, no server-side validation), color is the palette index, and scale is clamped by runtime to 0-255. Returns null if the server is full.
destroy
ts
destroy(id: number): booleanDestroy a blip by id. Prefer blip.destroy() when you hold the instance — this is a convenience for callers that only have the id.
getById
ts
getById(id: number): Blip | nullReturns the blip with id, or null when it does not exist.