Last updated 1 year ago
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 up
TriggerClientEvent("sfnotify", source, "info", "test message")
type
string
info, error, success, twitter, dispatch
message
Test message
header
string or boolean
10-13a, Some text or false
time
number
20000