slapped this together but i have no intention of using it
works on CSi gmod dayz server
as of now it's undetected but i'm sure that wont last long
enjoy
Code:
local items = {}
local item_table = GAMEMODE.DayZ_Items
for i = 1, #item_table do
local ent = item_table[i]
items[ent.idnum] = ent.name
end
hook.Add( "DrawOverlay", "DrawOverlay", function()
local tab = ents.FindByClass( "base_item" )
for i = 1, #tab do
local ent = tab[i]
local id = ent:GetItem()
local name = items[id]
if !IsValid( ent ) or name == nil then continue end
local pos = ent:GetPos():ToScreen()
draw.SimpleText( name, "default", pos.x, pos.y, color_white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
end
end )