gameevent.Listen( "entity_killed" )
hook.Add( "entity_killed", "kills", function( data )
local inflictor_index = data.entindex_inflictor
local attacker_index = data.entindex_attacker
local victim_index = data.entindex_killed
local ply = "Какой-то хуй"
local retard = game.GetWorld()
local wep = "Хуй"
local inflictor = ents.GetByIndex(inflictor_index)
for _, p in pairs(player.GetAll()) do
if p:EntIndex() == victim_index then ply = p:Nick() retard = p end
if p:EntIndex() == attacker_index then
local atk = p:Nick()
if p:GetActiveWeapon() and p:GetActiveWeapon():IsValid() then wep = p:GetActiveWeapon():GetClass() end
end
end
surface.PlaySound( "phx/hmetal3.wav" )
end)