GetWarehouseRevenue
warning
This export is only available for serverside!
Export Syntax
exports['dream_cryptomining']:GetWarehouseRevenue(WarehouseId) -- Returns Integer
Parameter
- WarehouseId (String) -> The Warehouse-Id. See Getallwarehouses.md
Example Export
local WarehouseRevenue = exports['dream_cryptomining']:GetWarehouseRevenue("WAREHOUSEID")
print(WarehouseRevenue) -- 💸 Prints the current revenue of warehouse XY