Exports // Triggers
Variable
Type
Example
Lua code examples for Client Side
exports["sfnotify"]:notify(type, message, header, time)
-- examples, default time is 10000
exports["sfnotify"]:notify("info", "test message")
exports["sfnotify"]:notify("info", "test message", false, 5000)
exports["sfnotify"]:notify("info", "test message", "Notification")TriggerEvent("sfnotify", "dispatch", "test message", "10-13a")TriggerEvent("sfnotify:cinematic", true) -- if set true notifications do not show
TriggerEvent("sfnotify:cinematic", false) -- if set false notifications show upLua code examples for Server Side
TriggerClientEvent("sfnotify", source, "info", "test message")Last updated