FiveM Native Notifications Helper

I have a day off once in a while… This is what I did on the latest one.

Replicates basic GTA Single Player and GTAO Style Notifications.
Uses Native functions only, NO NUI USAGE!!
I’ve seen some scripts that do one of these tasks, but not one that contains all the useful notifications i could find.
Still have plans to add MISSION and DIALOGUE notifications…
newer repos might have this added… but for now, these…

Video Preview: Incoming… I’m old…

PlayerNotification
exports["mkHelper"]:PlayerNotification("TITLE_STRING", 'SUBTITLE_STRING', 'CONTENT_MESSAGE_TEXT', ICONTYPE, PLAYSOUND_BOOLEAN)

CharacterNotification
exports["mkHelper"]:CharacterNotification("CHAR_NAME_STRING", "TITLE_STRING", 'SUBTITLE_STRING', 'CONTENT_MESSAGE_TEXT', ICONTYPE, PLAYSOUND_BOOLEAN)
character

DictionaryNotification
exports["mkHelper"]:DictionaryNotification("TEXTURE_DICT", "TXD_ITEM_NAME", "TITLE_STRING", 'SUBTITLE_STRING', 'CONTENT_MESSAGE_TEXT', ICONTYPE, PLAYSOUND_BOOLEAN)

BasicHelperText
exports["mkHelper"]:BasicHelperText("UNIQUE_TEXT_STRING_ID", 'TITLE_STRING', 'CONTENT_MESSAGE_TEXT', DURATION_INT, PLAYSOUND_BOOLEAN)
basic

FloatingHelperText
exports["mkHelper"]:FloatingHelperText('UNIQUE_TEXT_STRING_ID', "TITLE_STRING", POSITION_VECTOR3, DURATION_INT, PLAYSOUND_BOOLEAN)

MissionHelperText
exports["mkHelper"]:MissionHelperText('UNIQUE_TEXT_STRING_ID', "TITLE_STRING", DURATION_INT, PLAYSOUND_BOOLEAN)

PlayerStatsNotification
exports["mkHelper"]:PlayerStatsNotification('STATNAME', CURRENT_VALUE, CHANGE_AMOUNT, DURATION_INT, PLAYSOUND_BOOLEAN)
playerstats

CustomStatsNotification
exports["mkHelper"]:CustomStatsNotification('UNIQUE_TEXT_STRING_ID', "TITLE_STRING", "TEXTURE_DICT", "TXD_ITEM_NAME", CURRENT_VALUE, CHANGE_AMOUNT, DURATION_INT, PLAYSOUND_BOOLEAN)
customstats

Change Amount will cause White flashing on Positive Value and Red on Negative Value:
Setting it to 0 will make NO visual Change to value.

Download: https://github.com/mikethemadkiwi/mkHelper

FORK IT, RIP IT APART, MAKE SOMETHING COOL WITH IT!!!
CODE FOR ALL!!

|-------------------------------------|----------------------------|
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | < 100 |
| Requirements | None |
| Support | No |

5 Likes