[QB/ESX] iNotify (iMessage Styled Notification System) [LORE FRIENDLY/TOS FRIENDLY]

A script by Brown-Development

No reviews yet.
[QB/ESX] iNotify (iMessage Styled Notification System) [LORE FRIENDLY/TOS FRIENDLY] main image

Full Description

Browns iNotify (iMessage/iPhone Styled Notifications)

[LORE FRIENDLY/TOS FRIENDLY]

THIS IS A NOTIFICATION SCRIPT, IT HAS NOTHING TO DO WITH ANY PHONES OR PHONE MESSAGES. ONCE AGAIN IT IS A NOTIFICATION SCRIPT.

Key Features:

  1. Realistic Looking iMessage Styled Notifications

  2. The Ability to scroll Up/Down to view older notifications (This helps if you receive a notification, and it goes away before you get a chance to see it/fully read it so you can always see past notifications)

  3. Realistic iMessage Send/Receive Message Sound Effects when receiving notifications.

  4. The Time that the notification was sent is included in each Notification

  5. Easy to implement into your frameworks default notifications Fresh out the Box!!! (Setup Instructions Provided in "README.md" File.

How Does it work?:

This is an iMessage Styled Notification System so all of your Notifications will have a clean iPhone/iMessage look to it. All notifications will be in a list that you can scroll up/down to see previous notifications. This is very useful since in most if not all notification systems the functionality works where once you receive a notification and it goes away, if you didnt read it in time before it goes away then its too late however with this Notification system you can always scroll up or down by simply using your mouse wheel with no other actions to scroll through past notifications to finish reading them.

The Functionality (When Receiving Notifications):

  1. The Notification is placed in a scrollable list of notifications ( lets call this “The Container”)

  2. The Container pops open on the right side of your screen containing all of your notifications whilst focusing on the latest notification you received and plays the iMessage send/receive message “swoop” sound effect

  3. the notification Container that contains the list of notifications will stay open for 15 Seconds before hiding out of the screen giving you enough time to read past or present notifications by scrolling your mouse wheel before it closes again and it will only re-open if you receive another notification

Preview Video: YouTube
Purchase: ($5): Tebex

Developer Stuff </>:

Documentation: Exports/Events - iNotify Documentation (gitbook.io)

Notes:

  • In other Notifications Systems there is an option via export or event to add duration/time to each notification which defines how long it will show, however that has been disabled with this system, Why? because lets remember with this system one of the Key Features is to allow players to be able to scroll to see past notifications which makes this system unique and more convenient for those who may not be able to read as fast as others, meaning we can’t base notification presence off of time so instead we add them to a List of all notifications so they are never gone giving you the ability to always scroll throgh them however that scroll time is limited to 15 seconds when the container closes but when the container opens again which will happen every time a notification is sent (unless its already open) players can scroll through all of their notifications again which are listed in the container!

  • Notification types are not available in this system why? because if we want to base this off of looking like a iMessage Style then we have to keep in mind when you receive a iMessage in real life it doesnt tell you if the message is a ‘error’ or a ‘success’ its just a message. So to resemble that as much as possible and to keep the “uniqueness” of this system there are no notification types, However I did add time to each notification that shows the time it was received which does resemble real life iMessages as they do include the time that the message was sent.

Exports/Usage:

**PARAMETERS**

title = title of the notification (STRING)
message = notification message (STRING)
sound = true/false, if true then plays iMessage Sound if false plays no sound (BOOLEAN)


client sided usage:

exports['Browns-iNotify']:iNotify(title, message, sound)

server sided usage:

TriggerClientEvent('iNotify', source, title, message, sound)

Screenshots:

config.lua screenshot:

Framework Compatibility:
qb-core
esx

Dependencies:
none

Code is accessible No (except for config.lua)
Subscription-based No
Lines (approximately) 244
Requirements qb-core or esx frameworks
Support Yes