Blip::Blip: Difference between revisions
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
==See Also== | ==See Also== | ||
{{ | {{Blip_function}} | ||
Revision as of 13:11, 30 August 2017
This function used for create new blip.
Syntax
void mp.blips.new(int spriteID, Vector3 position);
void mp.blips.newStreamed(int spriteID, Vector3 position, int radius);
Required Arguments
- spriteID: ID sprite. (All sprites available on Blips page)
- position: Blip position on map.
- radius: Blip visible radius.
Example
That's example will create blip with sprite ID 140 (Cannabis icon).
Server-Side
let createdBlip = mp.blips.new(140, new mp.Vector3(0, 0, 0));