
Hugos
Members-
Content Count
162 -
Joined
-
Last visited
Community Reputation
9 NeutralAbout Hugos
-
Rank
Busta
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I had a problem. When I click on "body" I have a missing "go." What to do? Help. addEvent("PlayerJoined", true) function PlayerJoined() setCursorPosition(x/2, y/2) showCursor(true) body = guiCeateStaticImage(x/2-(y/(1080/280)/2), y/2+y/8.5, y/(1080/280), y/(1080/50), "gfx/go!.png", false) go = guiCreateStaticImage(x/2-(y/(1080/400)/2), y/2-(y/(1080/530)/2), y/(1080/400), y/(1080/530), "gfx/body.png", false) end addEventHandler("PlayerJoined", localPlayer, PlayerJoined)
-
Well. Can you tell me more about how to make the dimensions of the picture "guiCreateStaticImage" relative? I have an image with dimensions 400x530, I set "width" - y/2.7, how do I do to have "height" exhibited automatically? P.S: x, y = guiGetScreenSize()
-
What is the difference between "guiCreateStaticImage" and "dxDrawImage." For example, I draw panel and buttons using images. What 's best to use?
-
I got it. This means only when using "Browser." Thanks!
-
And how do I write hrml and css, create files and connect to *.Lua or how?
-
THANKS!!! Do you know if HTML and CSS can be used in MTA scripts?