Hello, I just wondered if someone know a script that prints in chat who's prop killed who. So you can find out who the propkiller is. I saw that kind of script on a server once, but I never found one to download. Anyone know how to create? Or a link?
This would be in requests not the 'Lua Scripting/Newie Questions' section.
[QUOTE=thejjokerr;21853439][lua]function GM:DoPlayerDeath( ply, attacker, dmginfo )
if ( attacker:IsValid() ) then
if( ! attacker:IsPlayer() ) then
print(ply:Name() .. " got killed by a prop")
end
end
end[/lua][/QUOTE]
[lua]function GM:DoPlayerDeath( ply, attacker, dmginfo )
if ( attacker:IsValid() ) then
if( !attacker:IsPlayer() && attacker:GetOwner() ) then
print(ply:Name() .. " got killed by [prop]"..attacker:GetOwner() )
end
end
end[/lua]
Sorry, you need to Log In to post a reply to this thread.