1097 {
1099 {
1101 {
1104 }
1108
1109 if ( screen_pos[2] > 0 )
1110 {
1111 if ( screen_pos[0] > 0 && screen_pos[0] < 1 )
1112 {
1113 if ( screen_pos[1] > 0 && screen_pos[1] < 1 )
1114 {
1118
1119
1120 return;
1121 }
1122 }
1123 }
1124 }
1125
1127 {
1128 float new_alpha = Math.Clamp(
m_PlayerTagText.GetAlpha() - timeslice * 10, 0, 1 );
1130 if ( new_alpha == 0 )
1131 {
1134 }
1135 }
1136 }
proto native vector GetScreenPosRelative(vector world_pos)
Transforms position in world to position in screen in percentage (0.0 - 1.0) as x,...
proto native WorkspaceWidget GetWorkspace()
TextWidget m_PlayerTagText
PlayerBase m_CurrentTaggedPlayer
proto native CGame GetGame()