Server exports
source is the player id. Each export also has its Portuguese name (Notificar, Progresso, PararProgresso, Habilidade).
Notify
---@param source number -- -1 = everyone
---@param type string
---@param text string
---@param time? number
---@param title? string
exports.gui_interface:Notify(source, "success", "Payment received", 5000, "Bank")
exports.gui_interface:Notify(-1, "important", "Restart in 10 minutes")Item
---@param source number
---@param action string -- "+" or "-"
---@param item string
---@param amount? number
---@param name? string
exports.gui_interface:Item(source, "+", "water", 2)Progress
---@param source number
---@param ms number
---@param text? string
exports.gui_interface:Progress(source, 5000, "Searching")StopProgress
---@param source number
exports.gui_interface:StopProgress(source)SkillCheck
Waits for the player’s answer.
---@param source number
---@param rounds number
---@param difficulty string
---@return boolean
local passed = exports.gui_interface:SkillCheck(source, 3, "dificil")