Available since Version 1.27.
Gets the number of for skins that the player has purchased in the given level.
Syntax
GetLevelNumSkinsPurchased( level )Arguments
- level (integer): The level to check.
- Between 1 and 7 or the max
Levelsset by the Custom Stats Totals hack, if it is loaded.
- Between 1 and 7 or the max
Return Values
- (integer | nil): The number of skins the player has purchased or
nilif unavailable.
Examples
local NumberOfSkinsHomerHasBought = GetLevelNumSkinsPurchased(1)
if NumberOfSkinsHomerHasBought ~= nil and NumberOfSkinsHomerHasBought > 2 then
-- Do something now that Homer has way too many clothes for one man
end