Blip::Blip

From RAGE Multiplayer Wiki
Revision as of 14:50, 26 September 2017 by SalwadoR (talk | contribs)

This function used for create new blip.

Syntax

blip mp.blips.new(int model, Vector3 position);
blip mp.blips.newStreamed(int model, Vector3 position, int radius);

Returns

Return a blip entity, what can be used with blip methods and parameters, like a blip.type, blip.destroy() and others.

Required Arguments

  • model: ID model. (All models available on Blips page)
  • position: Blip position on map.
  • radius: Blip visible radius.

Example

That's example will create blip with model ID 140 (Cannabis icon).

Server-Side
let createdBlip = mp.blips.new(140, new mp.Vector3(0, 0, 0));

See Also