Git Product home page Git Product logo

int_notifications's Introduction

-# int_notifications

Fivem notifications system using Mantine framework and ReactIcons.

VideoPreview Screenshots are here

Installation

  • Donwload the lat Release
  • Unzip the folder
  • Drag and drop the int_notifications into your resources folder
  • Don´t forget to add ensure int_notifications in your server.cfg

Arguments

id = String, id of the notification, you can use it to update/remove it - Not required title = String, title of the notification - Not required message = String, message you want to show up - Not required if you provide a title radius = String, radius of the notification - Not required / Types 'xs' | 'sm' | 'md' | 'lg' | 'xl' color = String, Color of the notification - Not required / if you put a type this will be ignored loading = Boolean, show a loading animation - Not required type = String, type of the notification - Not required / Types 'info' | 'success' | 'warning' | 'error'

Use

Default

    TriggerEvent('int_notifications:add', {
        type,
        title,
        message
    })

Server

    TriggerClientEvent('int_notifications:add', source, {
        type,
        title,
        message
    })

Contributing

Pull requests are welcome.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.