Skip to content

BlipManager

@vimp-mp/types 2.0.1

Interface · Client API

Creates client-local blips and tracks server-owned blip wrappers.

ts
interface BlipManager

Members

all

ts
readonly all: Array<Blip>

All known non-destroyed blips, including remote blips with handle === 0.

count

ts
readonly count: number

Number of known non-destroyed blips.

create

ts
create(sprite: number, position: Vec3, options?: BlipCreateOptions): Blip | null

Creates a client-local map blip, or returns null on native failure.

destroy

ts
destroy(id: number): boolean

Destroys the client-local blip identified by its wrapper id.

getById

ts
getById(id: number): Blip | null

Returns a known blip by client-local wrapper id.

getByRemoteId

ts
getByRemoteId(remoteId: number): Blip | null

Returns a remote blip by server/network id, including blips that are not currently streamed.

VIMP developer documentation