Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. include("killinformation.lua")
  2.  
  3. function informTheVictims(victim,inflictor,killer)
  4. if killer:IsRole(ROLE_INNOCENT) then
  5. victim:PrintMessage(HUD_PRINTTALK, ""..killer:Nick().." killed you! He was an innocent!\n")
  6. elseif killer:IsRole(ROLE_TRAITOR) then
  7. victim:PrintMessage(HUD_PRINTTALK, ""..killer:Nick().." killed you! He was a traitor!\n")
  8. else
  9. victim:PrintMessage(HUD_PRINTTALK, ""..killer:Nick().." killed you! He was a detective!\n")
  10. end
  11. end
  12. hook.Add("PlayerDeath","informTheVictims",informTheVictims)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement