Skip to content

Blip ​

A map blip owned by the resource that created it. It is removed when that resource stops, and with the player or vehicle it is attached to or the player it is shown to. Actions on a removed blip return nil, err.

Blip:id ​

Returns id integer

Blip:set_color ​

Parameters

  • color integer — 0xRRGGBB

Returns ok boolean|nil, err string|nil

Blip:set_position ​

Moves the blip to a coordinate. Fails with nil, err for an attached blip, which follows its entity.

Parameters

  • x number
  • y number
  • z number

Returns ok boolean|nil, err string|nil

Blip:set_size ​

Parameters

  • size number — 0.25..4, a multiplier of the dot's or icon's default size.

Returns ok boolean|nil, err string|nil

Blip:set_pulse ​

Parameters

  • pulse boolean — Pulses on the pause map; the radar never pulses.

Returns ok boolean|nil, err string|nil

Blip:set_short_range ​

Parameters

  • short_range boolean — Shown on the radar only while within radar range; the pause map always shows it.

Returns ok boolean|nil, err string|nil

Blip:set_draw_distance ​

Parameters

  • draw_distance number|nil — Meters, 1..20000: hidden from players farther away; nil shows it at any distance.

Returns ok boolean|nil, err string|nil

Documentation licensed under CC BY 4.0. DarqlineMP is not affiliated with Rockstar Games or Take-Two Interactive. Grand Theft Auto is a trademark of Take-Two Interactive Software, Inc.