SHARE
TWEET

Untitled

a guest Nov 14th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. local screenW, screenH = guiGetScreenSize()
  3.  
  4. local realtime = getRealTime()
  5.      godzina = realtime.hour
  6.      minuta = realtime.minute
  7.    
  8.     showPlayerHudComponent("clock", false)
  9.     showPlayerHudComponent("health", false)
  10.     showPlayerHudComponent("money", false)
  11.     showPlayerHudComponent("armour", false)
  12.     showPlayerHudComponent("ammo", false)
  13.     showPlayerHudComponent("weapon", false)
  14.     showPlayerHudComponent("wanted",false)
  15.     showPlayerHudComponent("breath",false)
  16.    
  17. addEventHandler("onClientRender", root,
  18.     function()
  19.         dxDrawText("EUR", (screenW * 0.7926) - 1, (screenH * 0.1432) - 1, (screenW * 0.8324) - 1, (screenH * 0.2031) - 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  20.         dxDrawText("EUR", (screenW * 0.7926) + 1, (screenH * 0.1432) - 1, (screenW * 0.8324) + 1, (screenH * 0.2031) - 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  21.         dxDrawText("EUR", (screenW * 0.7926) - 1, (screenH * 0.1432) + 1, (screenW * 0.8324) - 1, (screenH * 0.2031) + 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  22.         dxDrawText("EUR", (screenW * 0.7926) + 1, (screenH * 0.1432) + 1, (screenW * 0.8324) + 1, (screenH * 0.2031) + 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  23.         dxDrawText("EUR", screenW * 0.7926, screenH * 0.1432, screenW * 0.8324, screenH * 0.2031, tocolor(7, 248, 97, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  24.         dxDrawText("%06d", ..getPlayerMoney" ", 1142 - 1, 110 - 1, 1350 - 1, 161 - 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  25.         dxDrawText("%06d", ..getPlayerMoney" ", 1142 + 1, 110 - 1, 1350 + 1, 161 - 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  26.         dxDrawText("%06d", ..getPlayerMoney" ", 1142 - 1, 110 + 1, 1350 - 1, 161 + 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  27.         dxDrawText("%06d", ..getPlayerMoney" ", 1142 + 1, 110 + 1, 1350 + 1, 161 + 1, tocolor(0, 0, 0, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  28.         dxDrawText("%06d", ..getPlayerMoney" ", 1142, 110, 1350, 161, tocolor(0, 255, 95, 255), 1.50, "pricedown", "left", "top", false, false, false, false, false)
  29.         dxDrawText(" "..getPlayerName" ", 1157 - 1, 85 - 1, 1201 - 1, 126 - 1, tocolor(0, 0, 0, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false)
  30.         dxDrawText(" "..getPlayerName" ", 1157 + 1, 85 - 1, 1201 + 1, 126 - 1, tocolor(0, 0, 0, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false)
  31.         dxDrawText(" "..getPlayerName" ", 1157 - 1, 85 + 1, 1201 - 1, 126 + 1, tocolor(0, 0, 0, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false)
  32.         dxDrawText(" "..getPlayerName" ", 1157 + 1, 85 + 1, 1201 + 1, 126 + 1, tocolor(0, 0, 0, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false)
  33.         dxDrawText(" "..getPlayerName" ", 1157, 85, 1201, 126, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false)
  34.         dxDrawText( ("%02d",godzina)..":", ("%02d", minuta).."", 1165 + 1, 51 + 1, 1293 + 1, 75 + 1, tocolor(0, 0, 0, 255), 1.50, "default", "left", "top", false, false, false, false, false)
  35.         dxDrawText( ("%02d",godzina)..":", ("%02d", minuta).."", 1165, 51, 1293, 75, tocolor(255, 255, 255, 255), 1.50, "default", "left", "top", false, false, false, false, false)
  36.         162 *getElementHealth(localPlayer)/100
  37.     end
  38. )
RAW Paste Data
Top