Initial commit
This commit is contained in:
24
addons/itemstore/lua/entities/itemstore_deathloot.lua
Normal file
24
addons/itemstore/lua/entities/itemstore_deathloot.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
ENT.Type = "anim"
|
||||
ENT.Base = "itemstore_box"
|
||||
|
||||
ENT.PrintName = "Смертельная Добыча"
|
||||
ENT.Category = "Scora"
|
||||
|
||||
ENT.Spawnable = false
|
||||
ENT.AdminOnly = false
|
||||
|
||||
if SERVER then
|
||||
AddCSLuaFile()
|
||||
|
||||
ENT.Model = "models/props_junk/garbage_bag001a.mdl"
|
||||
|
||||
ENT.ContainerWidth = 5
|
||||
ENT.ContainerHeight = 5
|
||||
ENT.ContainerPages = 2
|
||||
|
||||
ENT.Timeout = 0
|
||||
|
||||
function ENT:Think()
|
||||
if self.Timeout < CurTime() then self:Remove() end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user