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
colorinteger— 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
xnumberynumberznumber
Returns ok boolean|nil, err string|nil
Blip:set_size
Parameters
sizenumber— 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
pulseboolean— Pulses on the pause map; the radar never pulses.
Returns ok boolean|nil, err string|nil
Blip:set_short_range
Parameters
short_rangeboolean— 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_distancenumber|nil— Meters, 1..20000: hidden from players farther away; nil shows it at any distance.
Returns ok boolean|nil, err string|nil
