[RELEASE] fizzfau-ui

A Basic UI Notification System

image

exports

There are two basic exports, the important part is id logic.

  • To draw notify
exports["fizzfau-ui"]:DrawNotify(id, text, color, icon)
  • To clear it
  exports["fizzfau-ui"]:Clear(id)

Examples

exports["fizzfau-ui"]:DrawNotify("fizzfau-ui:drawthetextplease", "Hello FiveM", rgba(0,0,0,0.0) or nil, " any fas fa icons" or nil)
  exports["fizzfau-ui"]:Clear("fizzfau-ui:drawthetextplease")

IMPORTANT

If you want to use this in a while loop you need to check it with variable control like:

  if not send then
    send = true
    exports["fizzfau-ui"]:Clear("fizzfau-ui:drawthetextplease")
  end

otherwise resmon values can be higher and loads of notifications spams on screen.

Css reworked a bit not like in the video. Diffrences are ui comes in with slide efffect and fadeout on clearing.

Download

css credit: @nitroSS

4 Likes

Looks absolutely nice! Keep up the good work. :eyes:

1 Like

Thank you fizz, very nice! but i dont see the download

1 Like

Ah I forgot it my bad! Thanks for your attention :slight_smile:

2 Likes

Looks very cool.

1 Like

Nice and compact built! The UI could be further progressed