Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. // LBY Indicator
  2.  
  3. static float StoredLBY = 0.0f;
  4. static bool bLowerBodyIsUpdated;
  5.  
  6. / * ---- CREATEMOVE ---- * /
  7. if (pCmd-> viewangles.y - pLocal-> GetLowerBodyYaw ()> = -15 && pCmd-> viewangles.y - pLocal-> GetLowerBodyYaw () <= 15)
  8. bLowerBodyIsUpdated = true;
  9. else
  10. bLowerBodyIsUpdated = false;
  11.  
  12. / * ---- PAINT TRAVERSE ---- */
  13. if (pLocal-> GetVelocity (). Length2D ()> 0 && bLowerBodyIsUpdated ) {
  14. Render :: Text (10, scrn.bottom - 104.5, Color (255, 0, 0, 255), Render :: Fonts :: Indicator, XorStr ( "LBY"));
  15. }
  16. else {
  17. Render :: Text (10, scrn.bottom - 104.5, Color (0, 255, 0, 255), the Render :: Fonts :: Indicator is , XorStr ( "LBY"));
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement