🟠AN Notify

iOS Inspired & Advanced Notification System

AN Interaction Menu
iOS Inspired FiveM Notification System | Product Price: 4.99 EUR + Tebex Taxes / Unencrypted Version: 14.99 EUR + Tebex Taxes

How to use?

Simple Notification Usage:

Client Side:

SERVER SIDE

  • PLAYER_ID: [ Only required when triggering the notification from server side ] ID of the player who should receive the notification

  • TITLE: Notification Title ( must be short )

  • TEXT: Content of the notification ( can be of any size )

  • STYLE: Can be one of the following: "success", "primary", "danger", "dark" or "light"

  • AUTHOR: The small text in the bottom right of the notification

  • ICON: You must use an icon from Font Awesome: https://fontawesome.com/icons β†’ You only copy the classes, for example: For this to work: , you only put this: "fa-solid fa-person-rifle"

  • DURATION: TIME in MS

  • USE_SOUND: Enable/Disable Sound on this notification ( can be either true or false )

Clickable Notification Usage:

CLIENT SIDE:

SERVER SIDE:

  • PLAYER_ID: [ Only required when triggering the notification from server side ] ID of the player who should receive the notification

  • THE FIRST 7 ARGUMENTS ARE THE SAME AS ABOVE

  • EVENT: Event you want to trigger once the notification is clicked

  • PARAMS: A Parameter passed as a table for the event, something like: { param1 = val1, param2 = val2 }

  • EVENT_TYPE: Can be Either "client" or "server"

  • CLOSEUI: Whether to close the UI after clicking the notification

Replacing ESX Notification

  1. Go to: es_extended/client/functions.lua

  2. Find this function:

  1. Replace it with this one:

Replacing QBCore Notification

  1. Open this file: qbcore/main/client/functions.lua

  2. Find this function:

  1. Replace it with this one:

Example Snippets:

Here are some examples to get you going, these are the ones used in the Demonstration Videoarrow-up-right. You can add this code to any client file in order to test the notification system.

EXAMPLE OF SIMPLE NOTIFICATION

EXAMPLE OF CLICKABLE NOTIFICATION

Last updated