Exports & Triggers
Here you have all Exports & Triggers you can use in other Scripts
Exports
Export
Arguments
Notify(type, title, message, time) => void
type => string
title => string
message => string
time => number
Announce(title, message, time) => void
title => string
message => string
time => number
PoliceAnnounce(title, message, time) => void
title => string
message => string
time => number
Warn(title, message, time) => void
message => string
time => number
HelpNotify(key, message) => void
key => string
time => number
Notify Types
info

warn

success

error

Color Codes
~r~ = Red
~b~ = Blue
~g~ = Green
~y~ = Yellow
~p~ = Purple
~c~ = Grey
~m~ = Dark Grey
~u~ = Black
~o~ = Orange
~s~ = ResetExamples
local message = "I ~r~LOVE~s~ WiseScripts"
local time = 5000
-- NOTIFY
local notifyType = "info"
exports.wise_notify:Notify(notifyType, "Information", message, time)
TriggerEvent("wise_notify", notifyType, "Information", message, time)
-- ANNOUNCE
exports.wise_notify:Announce("Announce", message, time)
TriggerEvent("wise_announce", "Announce", message, time)
-- POLICE ANNOUNCE
exports.wise_notify:PoliceAnnounce("Police Announce", message, time)
TriggerEvent("wise_policenotify", "Police Announce", message, time)
-- WARN
exports.wise_notify:Warn("Server Name", message, time)
TriggerEvent("wise_warn", "Server Name", message, time)
-- LIFEINVADER
local phonenumber = 123
TriggerEvent("wise_lifeinvader", "Server Name", phonenumber, time)
-- HELPNOTIFY ONLY USE IN LOOP (in use ~0.05ms)
exports.wise_notify:HelpNotify("E", message)
TriggerEvent("wise_helpnotify", "E", message)local message = "I ~r~LOVE~s~ WiseScripts"
local time = 5000
-- NOTIFY
TriggerClientEvent("wise_notify", playerId, "info", "Title", message, time)
-- ANNOUNCE
TriggerClientEvent("wise_announce", -1, "ANNOUNCE", message, time)
-- POLICE ANNOUNCE
TriggerClientEvent("wise_policenotify", -1, "Police Announce", message, time)
-- WARN
TriggerClientEvent("wise_warn", playerId, "Server Name", message, time)
-- LIFEINVADER
TriggerClientEvent("wise_lifeinvader", playerId, "Server Name", 123, time)Last updated