GetWarehouse
warning
This export is only available for serverside!
Export Syntax
exports['dream_cryptomining']:GetWarehouse(WarehouseId) -- Returns a table with data
Parameterโ
- WarehouseId (String) -> The Warehouse-Id. See Getallwarehouses.md
Responseโ
See Getallwarehouses.md, but only for a specific warehouse
Example Export
--
local Warehouse10 = exports['dream_cryptomining']:GetWarehouse("10")
-- โ ๏ธ You do not need to enumerate here!
print(Warehouse10.id) -- ๐ WarehouseId
print(Warehouse10.price) -- ๐ธ Warehouse Price
print(Warehouse10.warehouse) -- โ๏ธ Warehouse Type
-- ๐ฌ Use all other variables...