@name BaseGuard
@inputs EGP:wirelink Tag:entity Prop:entity
@model models/props/de_nuke/emergency_lighta.mdl
@outputs 
@persist 
@trigger 

Name = Tag:name()
Weapon = Tag:weapon()
Kills = Tag:frags()
Deaths = Tag:deaths()
KD = Kills/Deaths

EGP:egpClear()
EGP:egpText(1,"Name: " + Name,vec2(150,250))
EGP:egpText(2,"Weapon: "+ Weapon:toString(),vec2(150, 280))
EGP:egpText(3,"Kills: " + Kills,vec2(150,310))
EGP:egpText(4,"Deaths: " + Deaths,vec2(150,340))
EGP:egpText(5,"KD Ratio: : " + KD,vec2(150,370))

timer("Checker", 1000)
if(Weapon:toString():sub(9,11):toNumber()==1195){
    soundPlay(0,0,"ambient/alarms/combine_bank_alarm_loop1.wav")
    print("Naj")
    }
