AKL DOCUMENTATION
  • 👋Introduction
  • GUSTI RESOURCES
    • ⛏️gusti-minerjob
      • Setup
      • Update
    • 🚙gusti-membershipvehicle
    • 🍗gusti-butcherjob
    • 📣gusti-iosnotify
      • Setup
      • Usage
    • 🌐gusti-status server web
      • Setup
    • ⏳gusti-loadscreen
      • Setup
      • Building
    • 💎gusti-vipmenu
      • Setup
    • 🛠️gusti-welderloot
      • Common Issues
      • Setup
    • 🏃‍♂️gusti-boostsprint
      • Setup
    • 🚀gusti-boostfps
    • 📹gusti-cctv
      • Setup
    • 📅gusti-datetime
      • Setup
    • ☢️gusti-radzone
      • Setup
    • 🔫gusti-hidereticle
    • 🚗gusti-givevehicle
      • Setup
      • Usage
    • 💥gusti-duarmemek
      • Setup
      • Usage
  • 🛡️gusti-vipsystem
    • Setup
    • Usage
  • CODE SNIPPETS
    • Fix Animasi
    • Fix Spam Punch
    • Boost Fps
    • Disable Ambient
    • Send Webhook Messages
    • Spawns GTA V Online Train On Fivem
    • Removing / Adding Limit Map
    • Blacklist Name
    • Item Probability
    • Anti Duplicate Vehicle
    • How To Unbind Keys
Powered by GitBook
On this page
  • Client Side
  • Server Side
  • Icon
  • Type Text
  • Sound
  1. GUSTI RESOURCES
  2. gusti-iosnotify

Usage

PreviousSetupNextgusti-status server web

Last updated 2 years ago

Client Side

Export

exports['gusti-iosnotify']:SendAlert(icon, appname, title, message, time, sound)

Usage Example

exports['gusti-iosnotify']:SendAlert('fas fa-info-circle text-info','App Name',"INFORMATION", "Notification message", 5000, 'notify1')
exports['gusti-iosnotify']:SendAlert('far fa-check-circle text-success','Server',"SUCCESS", "Fill in the notification message", 5000, 'notify1')
exports['gusti-iosnotify']:SendAlert('fas fa-exclamation-circle text-danger','Server',"ERROR", "Fill in the notification message", 5000, 'notify1')

Server Side

TriggerClientEvent('gusti-iosnotify:show', source, {
    icon = icon,
    appname = appname,
    title = title,
    message = message,
    time = time,
    sound = sound
})

Usage Example

TriggerClientEvent('gusti-iosnotify:show', source, {
    icon = 'fas fa-info-circle text-info',
    appname = 'App Name',
    title = 'Title Here',
    message = 'Notification message',
    time = 5000,
    sound = 'notify1'
})

Icon

You can look for icon references from font-awesome

Type Text

There can use type text like

  • text-primary

  • text-secondary

  • text-info

  • text-success

  • text-danger

  • text-warning

  • and many more

Sound

There are three types of default notification sounds from gusti-iosnotify

  • default

  • notify1

  • notify2

you can add new sound to html/sound

You can see the type text

📣
font-awesome v5.14.0
here