whats wrong with this code?


			if ( trace.Entity:IsPlayer() ) then
				local alpha = math.Clamp(255 - ( (255 / fadeDistance) * ( LocalPlayer():GetPos():Distance( trace.Entity:GetPos() ) ) ), 0, 255);
				
				-- Get the x and y position.
				local x, y = self:GetScreenCenterBounce();
				
				-- Draw the player's name.
				y = self:DrawInformation(trace.Entity:Name(), "ChatFont", x, y, team.GetColor( trace.Entity:Team() ), alpha);
				
				-- Check if the player is in a clan.
				if (trace.Entity:GetNetworkedString("cider_Clan") != "") then
					y = self:DrawInformation("Clan: "..trace.Entity:GetNetworkedString("cider_Clan"), "ChatFont", x, y, Color(255, 255, 255, 255), alpha);
				end;
				
				-- Draw the player's job.
				y = self:DrawInformation("Job: "..trace.Entity:GetNetworkedString("cider_Job"), "ChatFont", x, y, Color(255, 255, 255, 255), alpha);
			elseif ( ValidEntity( trace.Entity:GetNetworkedEntity("cider_Player") ) ) then
				local player = trace.Entity:GetNetworkedEntity("cider_Player");
				
				-- Check if the player is alive.
				if ( player:Alive() and player != LocalPlayer() ) then
					local alpha = math.Clamp(255 - ( (255 / fadeDistance) * ( LocalPlayer():GetPos():Distance( trace.Entity:GetPos() ) ) ), 0, 255);
					
					-- Get the x and y position.
					local x, y = self:GetScreenCenterBounce();
					
					-- Draw the player's name.
					y = self:DrawInformation(player:Name(), "ChatFont", x, y, team.GetColor( player:Team() ), alpha);
					
					-- Check if the player is in a clan.
					if (player:GetNetworkedString("cider_Clan") != "") then
						y = self:DrawInformation("Clan: "..player:GetNetworkedString("cider_Clan"), "ChatFont", x, y, Color(255, 255, 255, 255), alpha);
					end;
					
					-- Draw the player's job.
					y = self:DrawInformation("Job: "..player:GetNetworkedString("cider_Job"), "ChatFont", x, y, Color(255, 255, 255, 255), alpha);
				end;

and the pastebin link.

you are a gawd if you tells me whats wrong :3

Why dont you tell us what the hell we’re looking for?

[editline]08:18PM[/editline]

Why’d you make another thread?

http://www.facepunch.com/showthread.php?t=965230

[editline]08:18PM[/editline]

Get out.

Would help if we knew the problem

did garry update eyetrice or something?, i just heard it.

It’s called eye trace, and I dont know.

You’re meant to tell us what’s wrong with it.