Viudes Posted October 2, 2017 Posted October 2, 2017 (edited) Infobox = guiCreateMemo(sWidth/700, sWidth/800, sWidth, sHeight,'How I can listen music from youtube?\n\nFirst open interner browser then go to site called dropbox(https://www.dropbox.com) and sing in or sing up.\nThen go to youtube and searche your song.\nWhen you are decided your song go to https://ytmp3.cc/ and but your song url to convert box.(Make sure you have "mp3" selected).',false,howToCreateSpeaker) I try to make helpbox but lower resolutions this not show correct. How i can fix this? Edited October 2, 2017 by Viudes
itHyperoX Posted October 3, 2017 Posted October 3, 2017 local sx,sy = guiGetScreenSize() guiCreateMemo(sx/2 - 120, sy-100, 300, 80,"YourText",false) Or use this https://community.multitheftauto.com/index.php?p=resources&s=details&id=141 1 1
Viudes Posted October 3, 2017 Author Posted October 3, 2017 (edited) 4 hours ago, TheMOG said: local sx,sy = guiGetScreenSize() guiCreateMemo(sx/2 - 120, sy-100, 300, 80,"YourText",false) Or use this https://community.multitheftauto.com/index.php?p=resources&s=details&id=141 I never use community resources. I wanna learn lua and that not gonna happend if I use comminity:~ Edited October 3, 2017 by Viudes 1
itHyperoX Posted October 3, 2017 Posted October 3, 2017 then use this local sx,sy = guiGetScreenSize() guiCreateMemo(sx/2 - 120, sy-100, 300, 80,"YourText",false)
Mr.Loki Posted October 4, 2017 Posted October 4, 2017 @Viudes that community resource helps you create GUI quick and easy to use. I personally use it all the time. It does not pre-script any functions for you and it's much better than guessing positions for GUI elements. It also somewhat helps with scaling for different resolutions. When you use the GUI editor and create your GUI, you can output the code for it and use it in your resource. It most definitely will not hinder you from learning about scripting. Give it a shot, never know what you might learn from it.
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