👮
Five-O M
  • Five-O M
  • 💻Client
    • Server Callbacks
    • Progress Bars
    • Keypress
    • Notifications
    • Menus
    • Blips
    • Vehicles (to-do)
    • Peds (to-do)
    • Callouts (to-do)
    • Client Callbacks (to-do)
  • 💿Server
    • Server Callbacks
    • Client Callbacks (to-do)
Powered by GitBook
On this page
  • Notify(message, notif_type)
  • Notification Handler
  • notification.close()
  1. Client

Notifications

In-built notification system to display messages to users.

Notify(message, notif_type)

Returns a notification handler object. Also sends an on-screen notification to the user with the specified message and style.

  • message* (string) - notification message to display

  • notif_type (string) - notification type which can be info (default), success, warning or error

* = required arguments

Notification Handler

notification.close()

Closes the notification early (before it automatically closes after 5 seconds). Takes no parameters

Reference: utils/cl_utils.lua

PreviousKeypressNextMenus

Last updated 2 years ago

💻