Skip to content

REVO / API version 0.0.10

Blip

Map blip with no distance culling.

Property Type Details
alpha number —
blipType
readonly
BlipType —
color number GTA palette index, 0..255.
dimension number World ID, default 0. Writable on local objects created by this resource. The server controls other objects. globalDimension makes the object visible in every numbered world.

Overrides Streamable.dimension
display number GTA display mode, 0..10.
flashes boolean —
flashesAlternate boolean —
flashInterval number —
flashTimer number Duration in milliseconds. -1 means indefinite.
heading number Heading in radians. Point sprites stay upright until a rotation is explicitly assigned.
id
readonly
number Inherited from Streamable.id
isStreamedIn
readonly
boolean Inherited from Streamable.isStreamedIn
name string —
priority number —
route boolean —
routeColor number GTA route palette index, 0..255.
scale number —
scriptID
readonly
number 0 until created on an active game frame, and after destruction.
shortRange boolean —
streamDistance number | null Per-object distance in metres. null uses the streamer’s default.

Inherited from Streamable.streamDistance
streamingEnabled boolean Enables automatic streaming. Disabling it preserves the current streaming state. A dimension mismatch still suspends it until its dimension is visible again.

Inherited from Streamable.streamingEnabled
type
readonly
BaseType Inherited from Streamable.type
valid
readonly
boolean Inherited from Streamable.valid
visible boolean —
all
static readonly
readonly Blip[] Overrides Streamable.all
count
static readonly
number Overrides Streamable.count
Accessor Type Details
pos Read: Vector3
Write: IVector3
Inherited from Streamable.pos
quaternion Read: Quaternion
Write: IQuaternion
Inherited from Streamable.quaternion
rot Read: Vector3
Write: IVector3
Euler angles in radians, applied X, then Y, then Z.

Inherited from Streamable.rot

destroy(): void

void


fade(alpha, durationMs): void

Parameter Type
alpha number
durationMs number

void


getSyncedMeta<K>(key): ICustomBaseSyncedMeta[K] | undefined

Returns a copy. Client-only objects have no synced metadata.

Type Parameter
K extends never
Parameter Type
key K

ICustomBaseSyncedMeta[K] | undefined

Streamable.getSyncedMeta

getSyncedMeta<T>(key): T | undefined

Returns a copy. Client-only objects have no synced metadata.

Type Parameter Default type
T TransportValue
Parameter Type
key string

T | undefined

Streamable.getSyncedMeta


getSyncedMetaKeys(): string[]

string[]

Streamable.getSyncedMetaKeys


hasSyncedMeta(key): boolean

Parameter Type
key string

boolean

Streamable.hasSyncedMeta


static getById(id): Blip | null

Parameter Type
id number

Blip | null

Streamable.getById


static getByScriptId(scriptID): Blip | null

Parameter Type
scriptID number

Blip | null

Blips