Initial commit

This commit is contained in:
pavetr
2026-03-15 14:54:49 +03:00
commit 64f8029c06
4027 changed files with 254888 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
local pMeta = FindMetaTable("Player")
local entMeta = FindMetaTable("Entity")
function pMeta:canAfford(amount)
if not amount or self.DarkRPUnInitialized then return false end
return math.floor(amount) >= 0 and (self:getDarkRPVar("money") or 0) - math.ceil(amount) >= 0
end
function entMeta:isMoneyBag()
return self.IsSpawnedMoney or self:GetClass() == GAMEMODE.Config.MoneyClass
end