GetWindTurbineWorth
warning
This export is only available for serverside!
Export Syntax
exports['dream_windturbines']:GetWindTurbineWorth(TurbineId) -- Returns Integer
Parameter
- TurbineId (String) -> The Turbine-Id. See GetAllWindTurbines.md
Example Export
local WindTurbineWorth = exports['dream_windturbines']:GetWindTurbineWorth("TURBINEID")
print(WindTurbineWorth) -- 💸 Prints the worth of wind turbine XY