prints moved to prefexied prints + comments

This commit is contained in:
MrNewb committed 2025-04-12 02:31:47 -04:00
1 parent d1da9710da
commit e6ffe48d82
4 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ end
---@param shopData any
---@return nil
Shops.OpenShop = function(title, shopData)
if not title and not shopData and not title then return print("No Title Passed") end
if not title and not shopData and not title then return Prints.Error("No Title Passed") end
local generatedID = Ids.CreateUniqueId()
local buildMenu = {}
for _, v in pairs(shopData) do
+1 -1
View File
@@ -44,7 +44,7 @@ Shops.CompleteCheckout = function(src, shopName, item, amount, paymentType)
break
end
end
if not itemData then return print("Player ID "..src.." Is Possibly A Cheater And Has Attempted To Purchase A "..item) end
if not itemData then return Prints.Error("Player ID "..src.." Is Possibly A Cheater And Has Attempted To Purchase A "..item) end
if not itemData.price then return end
local balance = Framework.GetAccountBalance(src, paymentType)
local mathStuff = tonumber(itemData.price) * tonumber(amount)