Skip to content

MT-Scripts/mt_notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MT Notify

Simple clean FiveM notify script

Preview

mt_notify

Export

Use the following export client or server

exports.mt_notify:sendNotify(data)

Data fields:

  • message: string (required)
  • time: number (optional)
  • type: string (required)
  • icon: string (optional)
  • background: string (optional)
  • textColor: string (optional)
  • iconColor: string (optional)

Default types:

  • info
  • information
  • primary
  • error
  • success
  • custom

Example usages:

exports.mt_notify:sendNotify({ message = 'This is a test notify', time = 5000, type = 'success' })
exports.mt_notify:sendNotify({ message = 'This is a test notify', time = 5000, type = 'custom', icon = 'fas fa-info-circle', background = 'white', textColor = 'black', iconColor = 'red' })

About

Simple clean FiveM notify script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published