Skip to main content

IsWarehouseAvailable

warning

This export is only available for serverside!

Export Syntax
exports['dream_cryptomining']:IsWarehouseAvailable(WarehouseId) -- Returns Boolean

Parameter

  1. WarehouseId (String) -> The Warehouse-Id. See Getallwarehouses.md
Example Export
if exports['dream_cryptomining']:IsWarehouseAvailable("WAREHOUSEID") then
-- Do your magic here (Warehouse is available) 💫
else
-- Do your magic here (Warehouse is NOT available) 💫
end