Blip
@vimp-mp/types 2.0.1Server-known blip. It may be known before/after streaming into a local map blip handle.
interface BlipMembers
alpha
readonly alpha: numberCached opacity in the 0–255 range.
color
readonly color: numberGTA blip palette colour identifier.
dimension
readonly dimension: numberClient-side dimension value associated with this wrapper.
drawDistance
readonly drawDistance: numberServer or wrapper draw-distance metadata.
global
readonly global: booleanWhether a remote blip streams globally within its dimension.
handle
readonly handle: numberNative map blip handle, or 0 while known but not streamed.
id
readonly id: numberClient-local 0-based wrapper id, unique per entity type and reused after destroy. Use remoteId for server/network state.
isAlive
readonly isAlive: booleanTrue while the remote blip exists in multiplayer state.
isExists
readonly isExists: booleanAlias of isAlive for blip lifecycle checks.
isRemote
readonly isRemote: booleanWhether this wrapper represents a server-owned blip.
isStreamed
readonly isStreamed: booleanWhether the blip currently has a native map handle.
name
readonly name: stringLabel shown for the blip in the map UI.
position
readonly position: Vec3Cached world position.
remoteId
readonly remoteId: number | nullServer blip id for remote blips; null for local-only blips. Zero is a valid remote id.
rotation
readonly rotation: numberCached blip heading in degrees.
scale
readonly scale: numberCached blip scale.
shortRange
readonly shortRange: booleanWhether the blip is hidden outside the local minimap range.
sprite
readonly sprite: numberGTA blip sprite identifier.
destroy
destroy(): booleanDestroys local-only blips. Returns false for remote blips or already-destroyed wrappers.