Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local x, y = guiGetScreenSize()
  2. local Ax, Ay = 1366, 768
  3. scaleX, scaleY = Ax * x, Ay * y
  4.  
  5. addEventHandler("onClientRender", root,
  6.     function()
  7.         dxDrawRectangle(390 / scaleX, 211 / scaleY, 500, 350, tocolor(5, 5, 5, 205), false)
  8.         --dxDrawText("Hallo", 390*sx, 211*sy, 977*sx, 557*sy, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false)
  9.     end
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement