zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/itemstocks/cl_stock.lua

13 lines
234 B
Lua
Raw Permalink Normal View History

include("sh_stock.lua")
function GM:ClearItemStocks()
self.ItemStocks = {}
end
net.Receive("zs_itemstock", function(length)
local itemid = net.ReadString()
local stock = net.ReadInt(16)
GAMEMODE.ItemStocks[itemid] = stock
end)