1 2 3 4 5 6 7 8 9 10 11
function DrawTargets() local pl = LocalPlayer() if (pl:IsPigeon()) then return end local tr = pl:GetEyeTrace() if (IsValid(tr.Entity) and tr.Entity:IsPlayer()) then DrawText(tr.Entity:Nick(),"ChatFont",ScrW()/2,ScrH()/2,MAIN_YELLOWCOLOR,1) end end