Skip to main content

GetWarehouseWorth

warning

This export is only available for serverside!

Export Syntax
exports['dream_cryptomining']:GetWarehouseWorth(WarehouseId) -- Returns Integer

Parameter

  1. WarehouseId (String) -> The Warehouse-Id. See Getallwarehouses.md
Example Export
local WarehouseWorth = exports['dream_cryptomining']:GetWarehouseWorth("WAREHOUSEID")
print(WarehouseWorth) -- 💸 Prints the worth of warehouse XY