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.