CreatorsServer exports
Notify
Last updated on
Shows a toast on one player's screen.
local res = exports.opx_infinity:Notify(source, message, kind, durationMs)Scope write · sync.
Parameters
-
source:
number -
message:
string— cut to 240 characters -
kind?:
'info' | 'success' | 'warning' | 'error'— defaultinfo -
durationMs?:
integer— 1000–30 000, default 5000 -
Goes through the platform's notifications, titled with the server name. The same message again at once is
export.duplicate.
Returns
true
Errors
export.duplicate,export.badArgument,export.callerDenied,error.unavailable
exports.opx_infinity:Notify(playerId, 'Your order is ready', 'success')