• I need an addon! :)
    4 replies, posted
Hey, I am looking for an addon for RP using Nutscript where it tells you who you was killed by, it doesn't need to be fancy just to the point, if anyone knows where I can find one a lin would be appreciated
Try this out [url]http://facepunch.com/showthread.php?t=1414080[/url]
oh god, it's you again....
Wrong section, and there is no section for requests unless there is a thread like mine, anyway, thought you would check this other then mine so I'll post it here. [code] hook.Add("PlayerDeath", "soeasy", function( victim, inflictor, attacker ) if ( victim == attacker ) then PrintMessage( HUD_PRINTTALK, victim:Name() .. " committed suicide." ) else PrintMessage( HUD_PRINTTALK, victim:Name() .. " was killed by " .. attacker:Name() .. "." ) end end) [/code]
[QUOTE=AnonTakesOver;45783186]:words:[/QUOTE] [code] hook.Add("PlayerDeath", "soeasy", function( victim, inflictor, attacker ) if ( victim == attacker ) then victim:PrintMessage( HUD_PRINTTALK, "You committed suicide." ) else victim:PrintMessage( HUD_PRINTTALK, "You were killed by " .. attacker:Name() .. "." ) end end) [/code] (He asked for it to notify you, rather than everyone)
Sorry, you need to Log In to post a reply to this thread.