pepsi18 Posted October 16, 2017 Posted October 16, 2017 how can i do so that players download the skins while playing give me some example plis 3
MTA Team Lpsd Posted October 17, 2017 MTA Team Posted October 17, 2017 local screenWidth, screenHeight = guiGetScreenSize() local webBrowser = createBrowser(screenWidth, screenHeight, false, false) function webBrowserRender() dxDrawImage(0, 0, screenWidth, screenHeight, webBrowser, 0, 0, 0, tocolor(255,255,255,255), true) end addEventHandler("onClientBrowserCreated", webBrowser, function() loadBrowserURL(webBrowser, "https://wiki.multitheftauto.com/wiki/Main_Page") addEventHandler("onClientRender", root, webBrowserRender) end ) Load this script and you should have all the information you need. 1 2 1
Moderators IIYAMA Posted October 17, 2017 Moderators Posted October 17, 2017 If you are a beginner. (which I do not know if you are) Then use downloadFile. https://wiki.multitheftauto.com/wiki/DownloadFile (there is an example in it, which shows you how to download a test.xml file) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now