Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. function PointBlank()
  2. if getElementData( player, "logedin" ) then
  3. dxDrawImage( x*1270, y*20, x*320, y*150, "hud_weapons/01.png", 0,0,0, tocolor( 255,255,255, 255 ) )
  4.  
  5. local iHealth = getElementData( localPlayer, "blood" )
  6. local iHealthPrecent = ( iHealth / 120 )
  7. local dxDrawTextFUN = dxDrawText
  8.  
  9. if iHealthPrecent > 100 then
  10. dxDrawTextFUN( "god", x*2561, y*42, x*50, y*40, tocolor( 255,255,255, 200 ), y * 0.8, "bankgothic", "center", "top", false, false, false )
  11. else
  12. dxDrawTextFUN( math.ceil( iHealthPrecent ),x*2588, y*44, x*30, y*30, tocolor( 255,255,255, 200 ), y * 0.7, "bankgothic", "center", "top" )
  13. end
  14.  
  15. dxDrawTextFUN( "%", x*2639, y*44, x*50, y*40, tocolor( 255,255,255, 200 ), y * 0.7, "bankgothic", "center", "top", false, false, false )
  16.  
  17. dxDrawTextFUN( "K/D", x*2588, y*126, x*50, y*40, tocolor( 255,255,255, 200 ), y * 0.9, "bankgothic", "center", "top", false, false, false )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement