Notifications
Introduction
RedEM:RP Offers a library to create notifications, to use this library you can utilize the below functions and events
Functions
Exports you can utilize on the client to show notifications
-- Where the values are (0, first text, time)
exports.redem_roleplay.DisplayTip(0, "your text", 8000)
-- Where the values are (0, first text, time)
exports.redem_roleplay.DisplayTopCenterNotification(0, "your text", 8000)
-- Where the values are (0, first text, second text, texture dict, icon, time)
exports.redem_roleplay.DisplayLeftNotification(0, "your text", "second text", "generic_textures", "tick", 8000)
Events
You can also choose to use events if you’d prefer
TriggerClientEvent('redem_roleplay:NotifyLeft', "first text", "second text", "generic_textures", "tick", 8000)
TriggerClientEvent('redem_roleplay:Tip', "your text", 8000)
TriggerClientEvent('redem_roleplay:NotifyTop', "your text", 8000)
Last modified June 17, 2020: tweak: use git submodules & modify structure (d08273f)