Jump to content

Bekao

Members
  • Posts

    2
  • Joined

  • Last visited

Details

  • Gang
    Workshop St.
  • Location
    ENGLAND
  • Occupation
    SCRIPTING IN LANGUAGE LUA
  • Interests
    Police

Bekao's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

1

Reputation

  1. Hello, at the beginning, welcome to this tutorial created for amateurs who are unable to create their GUI and scale it properly to all resolutions To create a GUI, we need 4 arguments that will diversify our GUI Of course, the above-mentioned functions only work on the client side of the server, it will not work and now I will give you my way to scale the GUI for players, the point is that players can see the same arrangement of elements as I see local sW,sH = guiGetScreenSize() local yW,yH = (sW/1920),(sH/1080) addEventHandler("onClientRender",root,function() dxDrawImage(yW*230,yH*420,yW*620,yH*340,"images.png") end) --The image will be scaled as I see it to be visible to other players in the same way whether it is a hud or a dashboard -- yW*230 Moves the element right 230 units -- yH*420 Moves the element down 430 units -- yW*620 Sets the element width by 630 units -- yH*340 Sets the element Height by 340 units This is my first tutorial, so if there is any error, I am sorry, I tried to translate as best I can Greetings
×
×
  • Create New...