Guest User

Untitled

a guest
Apr 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. OffsetX = (36.f * VeterancyMatScaleFactor * 0.6) - (HealthIconSize +
  2.  
  3. 2.0);
  4.  
  5. if (SRPlayerReplicationInfo(P.PlayerReplicationInfo).ClanName !=
  6.  
  7. "" && SRPlayerReplicationInfo(P.PlayerReplicationInfo).ClanLogo != "")
  8. {
  9. pClanName = Left("Awesome", 12);
  10. C.DrawTextClipped(pClanName);
  11. ClanLabel = Texture(DynamicLoadObject
  12.  
  13. (SRPlayerReplicationInfo(P.PlayerReplicationInfo).ClanLogo,
  14.  
  15. class'Texture'));
  16. C.SetPos(ScreenLocX - OffsetX - 66, (ScreenLocY - YL) -
  17.  
  18. 1.82 * BarHeight);
  19. C.DrawTile(ClanLabel, 17, 17, 0, 0, 16, 16);
  20.  
  21. C.SetDrawColor(0, 191, 255, BeaconAlpha);
  22. pClanName = Left(SRPlayerReplicationInfo
  23.  
  24. (P.PlayerReplicationInfo).ClanName, 12);
  25. C.StrLen(pClanName, sXL, sYL);
  26. C.SetPos(ScreenLocX - (sXL * 0.83), ScreenLocY - (sYL *
  27.  
  28. 2.95));
  29. C.DrawTextClipped(pClanName);
  30. }
  31.  
  32. C.SetDrawColor(255, 255, 255, BeaconAlpha);
Add Comment
Please, Sign In to add comment