function PLUGIN:PlayerLoadout()
randomply = 0
timer.Create( "itm_timer1", 15, 0, function()
local items = {
"stunstick",
"crowbar",
"pipe",
"357",
"stunstick",
"crowbar",
"pipe",
"ar2",
"stunstick",
"crowbar",
"pipe",
"annabelle",
"stunstick",
"crowbar",
"pipe",
"pistol",
"rpg",
"cacid",
"sword",
"pistol",
"pistol",
"pistol",
"pistol",
"pistol",
"357",
"smg1",
"crossbow",
"sh_stichiyafore",
"sh_snipergun",
"stunstick",
"stunstick",
"stunstick",
"stunstick",
}
for k, v in pairs(player.GetAll()) do
if IsValid(v) and v:IsPlayer() and v:Alive() then
randomply = player.GetAll()[math.random(1,#player.GetAll())]
end
local randitem = table.Random(items)
randomply:getChar():getInv():add(randitem)
v:ChatPrint( randomply, "нашел предмет", randitem )
end
end)
end