Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
Codem-AdvancedNotifySystem

Description

Codem-AdvancedNotifySystem is a notification UI for FiveM that shows animated alerts with an icon, a title and a sound. Your other scripts call it through exports or a client event.

Features

  • Built-in notification types with their own icon and colour: success, error, info, announcement, message, Twitter, call, bank, bill, LSPD, EMS, taxi, mechanic, bitcoin and save
  • Exports for different display times: DoShortHudText (1 s), DoHudText (4 s), DoLongHudText (5 s) and DoCustomHudText with your own type, length and title
  • DoHudJobText picks the LSPD, EMS or taxi style from the job name, and DoHudAAText shows an announcement
  • Client events codem-notification:client:SendAlert and codem-notification:client:SendCustomeAlert for scripts that trigger notifications by event
  • Alert sound (notification.mp3) that players can switch on or off
  • Players choose where alerts appear with /customnotif: top, bottom, left, right or next to the HUD, and can hide notifications

Requirements

  • No framework needed: it is a client-side UI resource
  • Players need internet access, because the animation library (anime.js) loads from cdnjs

Installation

  1. Copy the folder codem-notification into your resources directory.
  2. Add ensure codem-notification to your server.cfg.
  3. Call it from your client scripts, using the folder name as the export name:
    exports['codem-notification']:DoHudText('success', 'Saved')
    exports['codem-notification']:DoCustomHudText('lspd', 'Dispatch call received', 6000, 'LSPD')

Related resources

All resources →