Skip to main content

GetWindTurbineProfit

warning

This export is only available for serverside!

Export Syntax
exports['dream_windturbines']:GetWindTurbineProfit(TurbineId) -- Returns Integer

Parameter

  1. TurbineId (String) -> The Turbine-Id. See GetAllWindTurbines.md
Example Export
local WindTurbineProfit = exports['dream_windturbines']:GetWindTurbineProfit("TURBINEID")
print(WindTurbineProfit) -- 💸 Prints the current profit of wind turbine XY