Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. local sx, sy = guiGetScreenSize(); --lekéri a játékos képernyőméretét
  2. local w, h = 300, 400
  3. local w1,h1 = 295,395; --Megadja a hosszát és a magasságát {200 = hossz ; változtatható} {20 = magasság ; változtatható}
  4. local x, y = sx/2-w/2, sy/2-h/2;
  5. local szkod = exports.sw_core:getServerColor("hex")
  6.  
  7. function showCasinoPanel()
  8. dxDrawRectangle(x,y,w,h,tocolor(0,0,0,70))
  9. dxDrawRectangle(x-2.5,y-2.5,w1,w2, tocolor(0,0,0,100))
  10. dxDrawText(szkod.."SwipeMTA#ffffff-Kaszinó",x,y-30,x+w,h-20+y, tocolor(255,255,255,255), 2, "arial", "center", "top",true,true,true,true)
  11. end
  12. addEventHandler("onClientRender", root, showCasinoPanel)
  13. addCommandHandler("tekutyageci", showCasinoPanel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement