From 8286754d814476071b042583fdcd1669f67a890a Mon Sep 17 00:00:00 2001 From: Rorkh <78957156+Rorkh@users.noreply.github.com> Date: Mon, 8 Nov 2021 13:23:17 +0500 Subject: [PATCH] GetMoneyModel hook --- entities/entities/nut_money.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/entities/nut_money.lua b/entities/entities/nut_money.lua index f0666cad..b23bdf19 100644 --- a/entities/entities/nut_money.lua +++ b/entities/entities/nut_money.lua @@ -8,7 +8,7 @@ ENT.Spawnable = false if (SERVER) then function ENT:Initialize() self:SetModel( - nut.config.get("moneyModel", "models/props_lab/box01a.mdl") + hook.Run("GetMoneyModel", self:getAmount()) or nut.config.get("moneyModel", "models/props_lab/box01a.mdl") ) self:SetSolid(SOLID_VPHYSICS) self:PhysicsInit(SOLID_VPHYSICS)