Jump to content

Search the Community

Showing results for tags 'resolution'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 5 results

  1. Boa tarde gente, estou com um problema muito chato! Quando entro em algum servidor, funciona tudo normalmente, porém na maioria das vezes eu não consigo usar algumas funções do jogo/servidor, por exemplo o celular pois não aparece os escritos dos menus no jogo, apenas o layout... alguém já passou por isso? sabe como resolver? segue algumas fotos: https://ibb.co/2q7BBPM https://ibb.co/qmrGvQB https://ibb.co/2q7BBPM https://ibb.co/qmrGvQB Good afternoon guys, I have a very annoying problem! When I enter a server, everything works normally, but most of the time I am unable t
  2. This is in 1440x900 (in my resolution): This is in 1920x1080: I calculate the dx elements position with this: local sx_, sy_ = guiGetScreenSize() local sx, sy = sx_/1440, sy_/900 And i draw dx elements like this: dxDrawRectangle(sx / 2 + 290, sy / 2 +240,850,65,tocolor(0,0,0,200)) What wrong??? How can i fix this problem??
  3. http://imgur.com/a/og3e5 this is the problem, how to fix this? code: local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, function() local x, y, z = getElementPosition(localPlayer) local location = getZoneName ( x, y, z ) dxDrawImage(screenW * 0.0076, screenH * 0.7300, screenW * 0.2194, screenH * 0.2422, "mapbg.png", 360, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText(location, screenW * 0.0965, screenH * 0.7370, screenW * 0.2250, screenH * 0.7567, tocolor(118, 224, 90, 255), 1.00, "default-bold", "left", "center",
  4. The resolution for everything is offset unless I turn it up all the way. I dunno if the fix would b a complicated code or not, but if anybody can provide the small edit or helpful explanation I can re position everything myself sX,sY = guiGetScreenSize() function dxDrawLinedRectangle(posX,posY, sizeX,sizeY, color) dxDrawLine(posX,posY, posX,posY+sizeY, color) -- Izquierda dxDrawLine(posX,posY, posX+sizeX,posY, color) -- Arriba dxDrawLine(posX+sizeX,posY, posX+sizeX,posY+sizeY, color) -- Derecha dxDrawLine(posX,posY+sizeY, posX+sizeX,posY+sizeY, color) -- Abajo end function calcu
  5. Heyo, so recently I got an awesome toptimes resource from a friend and today I fixed the positions of all elements drawn with dxDraw so that the toptimes window doesn't go outside of screen boundary on any resolution. So far, so good. But there is one problem, I don't know how to fix the elements' size to be same for all resolutions. I tried with something like " local x_,y_ = x/1680,y/1080 " and put " *y_ " after the size but it still looks ugly, also tried more combinations such as " x/1440,y/900 " and so on, to no success. Below is just the function which draws the F5 tops window, I always
×
×
  • Create New...