Jump to content

Evaldas101

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Evaldas101

  1. I'm new at MTA scripting, can you make the code for me? Plzz.
  2. Now I get this in MTA: http://imgur.com/Via3y2p , -- BACKGROUND -- local x,y = guiGetScreenSize() local backgroundas = guiCreateStaticImage( 0, 0, x, y, "login_bg.jpeg", false ) guiMoveToBack(backgroundas) But I want to make like this: http://imgur.com/7YrYyTH
  3. http://imgur.com/oBFSSEg , You do not understand me. I want to be the background for the pictures, RUS : Вы меня не понимаете. Я хочу чтоб ето был фон за теми фотографиами.. POLISH: Wy mnie nie rozumiecie, chcę by ten background (fon) byl za tymi zdjęciami, (listitem te zdęcia) (Forest, Industry, gdzie MAP wybierac)
  4. Now I get this: Russian: Я хочу наставить ето как background, ( хочу, чтоб ето был фоновои рисунок )
  5. Hi all, I'm new at MTA, P.S I'm did't know good english language, sorry for this, My question was this: How to do that photo was for these figures? ( Forest, Industry..); I'm want to make a picture like this: guiCreateStaticImage( 0, 0, 1920, 1200, "login_bg.jpeg", false ) It's my code: -- SELECTION DRAW -- -- IMAGES -- --EXAMPLE -- -- bool dxDrawImage ( float posX, float posY, float width, float height, mixed image [, float rotation = 0, float rotationCenterOffsetX = 0, float rotationCenterOffsetY = 0, int color = tocolor(255,255,255), bool postGUI = false ] ) -- local sx, sy = guiGetScreenSize() dxDrawImage(sx/2-(275/599*sx), sy/2-(200/576*sy), 309/1600*sx, 174/900*sy, "data/img/selection_forest.jpg", 0, 0, 0, tocolor(255, 255, 255, alpha_selection["forest"])) dxDrawImage(sx/2-(275/599*sx), sy/2-(80/900*sy), 309/1600*sx, 174/900*sy, "data/img/selection_industry.jpg", 0, 0, 0, tocolor(255, 255, 255, alpha_selection["industry"])) --dxDrawImage(sx/2-(275/1600*sx), sy/2-(-40/900*sy), 501/1600*sx, 103/900*sy, "data/img/selection_forest.jpg", 0, 0, 0, tocolor(255, 255, 255, alpha_selection["forestas"]))-- dxDrawImage(sx/2-(275/599*sx), sy/2-(-170/900*sy), 309/1600*sx, 174/900*sy, "data/img/selection_forest.jpg", 0, 0, 0, tocolor(255, 255, 255, alpha_selection["forestass"])) -- TEXT -- local scale = 0.5/1600*sx dxDrawText("CHOOSE A MAP", sx/2-(200/1600*sx), sy/2-(300/900*sy), sx/2, sy/2, tocolor(255, 255, 255), scale, slender_font) scale = 0.3/1600*sx dxDrawText("FOREST", sx/2-(270/1600*sx), sy/2-(125/900*sy), sx/2, sy/2, tocolor(255, 255, 255, alpha_selection["forest"]), scale, slender_font) dxDrawText("INDUSTRY", sx/2-(270/1600*sx), sy/2-(5/900*sy), sx/2, sy/2, tocolor(255, 255, 255, alpha_selection["forest"]), scale, slender_font) dxDrawText("FOREST", sx/2-(270/1600*sx), sy/2-(-115/900*sy), sx/2, sy/2, tocolor(255, 255, 255, alpha_selection["forest"]), scale, slender_font) end end me goes like this: But I'want to make like this: And again sorry for my bad english.
×
×
  • Create New...