GetWarehouseServer
warning
Questa esportazione è disponibile solo per il lato server!
Sintassi dell'Esportazione
exports['dream_cryptomining']:GetWarehouseServer(WarehouseId, ServerId) -- Restituisce una tabella con i dati
Parametro
- WarehouseId (Stringa) -> L'ID del Magazzino. Vedi Getallwarehouses.md
- ServerId (Stringa) -> L'ID del Server.
Risposta
Tabella di Risposta
{
"status": string -- [attivo, inattivo, guasto, non disponibile]
}
Esempio di Esportazione
local WarehouseServer = exports['dream_cryptomining']:GetWarehouseServer("IDMAGAZZINO", "IDSERVER")
print(WarehouseServer.status) -- ✉️ Stato del Server