πŸ””nova_notify

NOVA Framework notification system. Provides toast-style notifications for user feedback across all scripts.

Features

  • Toast Notifications β€” Non-intrusive popup notifications

  • Multiple Types β€” Success, error, info, warning styles

  • Custom Duration β€” Configurable display time

  • Dark Theme β€” Consistent with NOVA's UI design

Exports

Export
Parameters
Description

ShowNotification

message, type, duration?

Show a notification (client)

SendNotification

message, type, duration?

Alias for ShowNotification (client)

Notification Types

Type
Color
Use Case

success

Green

Successful actions

error

Red

Errors and failures

info

Blue

Informational messages

warning

Yellow/Orange

Warnings

Usage Examples

From client script

From server (via event)

With custom duration

Dependencies

  • None β€” This is a standalone resource

Notes

  • Default notification duration is 3 seconds

  • Notifications stack vertically (multiple can show at once)

  • The NUI uses CSS animations for smooth enter/exit

  • Used by most NOVA scripts for user feedback

  • Can be used as a replacement for default FiveM notifications

Last updated