Exports, Events
On this page you can see the exports of the map script.
Map open and close exports
exports['bp_mapui']:openmap('minimap', {['width'] = '18%', ['height'] = '18%', ['radius'] = '0', ['top'] = '80%', ['left'] = '1%', ['opacity'] = '0.9' , ['zoom'] = '4'})
exports['bp_mapui']:openmap('bigmap', {['width'] = '70%', ['height'] = '70%', ['radius'] = '0', ['top'] = '50%', ['left'] = '50%', ['opacity'] = '1.0' , ['zoom'] = '4'})exports['bp_mapui']:closemap();Add Static Blip (or Dynamic)
exports['bp_mapui']:AddStaticBlip({['name'] = 'Police Run!', ['type'] = 'image', ['coords'] = vec3(206.887909, -1632.079102, 29.717896), ['size'] = {['width'] = 20, ['height'] = 20}, ['url'] = 'https://docs.fivem.net/blips/radar_police_chase.gif' }) exports['bp_mapui']:UpdateStaticBlip(blipid, { coords = vec3(189.204391, -1610.676880, 29.279907), size = { width = 20, height = 20 }, color = "blue" })exports['bp_mapui']:RemoveStaticBlip(blipid)Add Area Blip
Add Text Blip
DELETE ALL BLIPS
Last updated