Documentation Index
Fetch the complete documentation index at: https://docs.errorism.co/llms.txt
Use this file to discover all available pages before exploring further.
Server Side
getStage
ใช้สำหรับดึงข้อมูลเวทีของผู้เล่น
exports['Godji.Busking']:getStage(playerId)
RegisterCommand('getStage', function(_, args)
local stage = exports['Godji.Busking']:getStage(args[1])
if not stage then return end
print(json.encode(stage))
end, true)
Returns
| Parameter | Type | Description |
|---|
| totalDonate | number | จำนวนยอดโดเนท |
| allDonors | table | รายชื่อผู้โดเนททั้งหมด |
closeStage
ใช้สำหรับปิดเวทีของผู้เล่น
exports['Godji.Busking']:closeStage(playerId)
RegisterCommand('close', function(_, args)
exports['Godji.Busking']:closeStage(args[1])
end, true)
closeAllStage
ใช้สำหรับปิดเวทีทั้งหมดในเซิฟ
exports['Godji.Busking']:closeAllStage()
RegisterCommand('closeAll', function()
local total = exports['Godji.Busking']:closeAllStage()
print('Closed total stages: ' .. total)
end, true)
Returns
- รายการเวลทีที่ปิดไปทั้งหมด