Results 1 to 2 of 2
  1. #1
    DeezNutz34's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Question [TTT] Callout before death

    Just wondering if this exists, where if someone hits you it will display an auto (insert name here) is a traitor! of course only working if they are in your sight. this be really helpful because I'm never fast enough to hit that bind , or get caught up in the gunfight and forget to press it. If this is possible or some other method is present that be great!

  2. #2
    tikene's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Posts
    94
    Reputation
    10
    Thanks
    39
    Literally just coded it on my phone probs won't work tbh
    gameevent.Listen( "player_hurt" )
    hook.Add( "player_hurt", "", function(stuff)
    local attacker = Player(stuff.attacker)
    local hurt = Player(stuff.userid)
    if hurt == LocalPlayer() then
    LocalPlayer():ConCommand("say "..attacker:Nick().." is attacking me!")
    end
    end)

Similar Threads

  1. Replies: 22
    Last Post: 03-04-2017, 01:07 PM
  2. [Solved] TTT Death Notifier problems?
    By marshgray in forum Garry's Mod Discussions & Help
    Replies: 1
    Last Post: 06-05-2016, 12:59 PM
  3. [Solved] TTT Death Notifier
    By HoboPie in forum Garry's Mod Discussions & Help
    Replies: 6
    Last Post: 09-11-2014, 04:24 PM
  4. Replies: 40
    Last Post: 12-03-2013, 11:13 AM
  5. CS 1.6 VAC2 proof hacks AND cheat death hacks
    By Brunogol in forum General Game Hacking
    Replies: 28
    Last Post: 12-18-2006, 08:26 PM