BlipManager
@vimp-mp/types 2.0.1Creates client-local blips and tracks server-owned blip wrappers.
ts
interface BlipManagerMembers
all
ts
readonly all: Array<Blip>All known non-destroyed blips, including remote blips with handle === 0.
count
ts
readonly count: numberNumber of known non-destroyed blips.
create
ts
create(sprite: number, position: Vec3, options?: BlipCreateOptions): Blip | nullCreates a client-local map blip, or returns null on native failure.
destroy
ts
destroy(id: number): booleanDestroys the client-local blip identified by its wrapper id.
getById
ts
getById(id: number): Blip | nullReturns a known blip by client-local wrapper id.
getByRemoteId
ts
getByRemoteId(remoteId: number): Blip | nullReturns a remote blip by server/network id, including blips that are not currently streamed.