overextended / ox_lib

A FiveM resource and script library for Lua and JS.
https://overextended.dev/ox_lib
GNU Lesser General Public License v3.0
287 stars 397 forks source link

[Suggestion] ox blips #277

Open MrNewb opened 1 year ago

MrNewb commented 1 year ago

Is your feature request related to a problem? Please describe. Not a problem, just a better way to do things.

Describe the solution you'd like lib.generateBlip(coords, sprite, scale, colour, aplha, toggle) vs the boring way, plus toggling through lib. I think there's some paid scripts floating around that do it but haven't seen one recently. Just an idea, plus cockblocking sellers is always cool. Some way to use SetBlipDisplay, SetBlipHiddenOnLegend, SetBlipHighDetail

Additional context While running loops in tons of scripts for blips is do-able we can use less blips and future scripts utilizing ox could use something like an export to insert to and add to a table of blips for ox. Could be useful in many ways and generally its just kinda cool

ahcenezdh commented 1 year ago

Would be cool to implement this feature https://github.com/glitchdetector/fivem-blip-info

thelindat commented 1 year ago

Would be cool to implement this feature https://github.com/glitchdetector/fivem-blip-info

But why? You have a fully functional resource and just want me to toss it into lib for convenience? No.

Griefa commented 1 year ago

Would be cool to implement this feature https://github.com/glitchdetector/fivem-blip-info

But why? You have a fully functional resource and just want me to toss it into lib for convenience? No.

Be cool if you could add deez

mikigoalie commented 8 months ago

I have something prep'd, does it look enough to try a PR?

https://gist.github.com/mikigoalie/534097933b0246540060f62b0c5399cb