- Documentation
- Client functions
- guiNotify
Function
guiNotify
Shows a short notification in the bottom-right corner of the screen. At most 6 are shown at once.
Syntax
bool guiNotify(string message [, string kind = "info", int duration = 4000])Arguments
messagestring- The text.
kindstring, optional = "info""info","success","warning"or"error".durationint, optional = 4000- Time in milliseconds (at least 500).
Returns
true on success.
Example
addEvent("onMoneyReceived", true)
addEventHandler("onMoneyReceived", localPlayer, function(amount)
guiNotify("Otrzymano $" .. amount, "success")
end)