include("shared.lua")
function ENT:OnInitialize()
end
function ENT:Draw()
self:DrawModel()
end
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:OnInitialize()
self:SetNWInt("amount", 100)
end
function ENT:OnUse(ply)
ply:SetNWInt("holding", ply:GetNWInt("holding") + self:GetNWInt("amount"))
NotifyPlayer(ply, "You have picked up $" .. self:GetNWInt("amount") .. "!", 2, "hint")
self:Remove()
end
ENT.Type = "anim"
ENT.Base = "hrp_base"
ENT.PrintName = "Money"
ENT.Author = "Scott"
ENT.Spawnable = false
ENT.Model = "models/props/cs_assault/money.mdl"