Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sx, sy = guiGetScreenSize(); --lekéri a játékos képernyőméretét
- local w, h = 300, 400
- local w1,h1 = 295,395; --Megadja a hosszát és a magasságát {200 = hossz ; változtatható} {20 = magasság ; változtatható}
- local x, y = sx/2-w/2, sy/2-h/2;
- local szkod = exports.sw_core:getServerColor("hex")
- function showCasinoPanel()
- dxDrawRectangle(x,y,w,h,tocolor(0,0,0,70))
- dxDrawRectangle(x-2.5,y-2.5,w1,w2, tocolor(0,0,0,100))
- 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)
- end
- addEventHandler("onClientRender", root, showCasinoPanel)
- addCommandHandler("tekutyageci", showCasinoPanel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement