Resulcan Posted May 9, 2020 Share Posted May 9, 2020 mta sa pad I want the panel to open when I click Thanks in advance Astronot = createMarker ( 2742.33228, -2229.96240, 13.54688-1,"cylinder",4.0,238,192,0,255 ) Astronautkonus = guiCreateWindow(377, 226, 176, 92, "Astronaut", false) guiWindowSetSizable(Astronautkonus, false) GUIEditor.button[1] = guiCreateButton(33, 24, 112, 24, "Konuş", false, Astronautkonus) GUIEditor.button[2] = guiCreateButton(33, 58, 112, 24, "Kapat", false, Astronautkonus) local screenW, screenH = guiGetScreenSize() AstronautBilgi = guiCreateWindow((screenW - 322) / 2, (screenH - 326) / 2, 322, 326, "Astronaut", false) guiWindowSetSizable(AstronautBilgi, false) İsegir = guiCreateButton(10, 282, 86, 35, "İşi Kabul Et", false, AstronautBilgi) Geri = guiCreateButton(226, 282, 86, 35, "Geri", false, AstronautBilgi) GUIEditor.memo[1] = guiCreateMemo(10, 26, 302, 247, "Astronaut İşinde Uzaya İsinlanıp Madenlerden Değerli Taşlar Toplayıp Gelir Elde Edebilirsiniz.\n\nGörev Nasıl Yapabilirim ?\n\nİşi Aldıktan Sonra Sarı Markere Girip Uzaya İşinlanıyosunuz. Uzayda Belirtilen Yere Gidip Değerli Taşları Toplayın. Topladıktan Sonra Spawnlandığınız Yere Gidip Elması Bırakın.!!!\n\n Bizi Tercih Ettiğiniz İçin Teşekkürler.!!!", false, AstronautBilgi) Link to comment
#\_oskar_/# Posted May 9, 2020 Share Posted May 9, 2020 onClientGUIClick + guiSetVisible Link to comment
Resulcan Posted May 9, 2020 Author Share Posted May 9, 2020 1 hour ago, #\_oskar_/# said: onClientGUIClick + guiSetVisible Thanks bro Link to comment
Resulcan Posted May 9, 2020 Author Share Posted May 9, 2020 29 minutes ago, Resulcan said: Thanks bro Pad how can I do it ? Link to comment
#\_oskar_/# Posted May 9, 2020 Share Posted May 9, 2020 33 minutes ago, Resulcan said: Pad how can I do it ? what? Link to comment
Resulcan Posted May 9, 2020 Author Share Posted May 9, 2020 (edited) 21 minutes ago, #\_oskar_/# said: what? pad guicreateWindow how can i connect ? https://hizliresim.com/8nPZSt Edited May 9, 2020 by Resulcan Link to comment
#\_oskar_/# Posted May 9, 2020 Share Posted May 9, 2020 14 minutes ago, Resulcan said: pad guicreateWindow how can i connect ? Do you mean it? guiSetVisible(Astronautkonus ,false) addEventHandler ( "onClientGUIClick",root,function () if source == lsegir then guiSetVisible(AstronautBilgi,false) guiSetVisible(Astronautkonus,true) end end) Link to comment
Resulcan Posted May 9, 2020 Author Share Posted May 9, 2020 3 minutes ago, #\_oskar_/# said: Do you mean it? guiSetVisible(Astronautkonus ,false) addEventHandler ( "onClientGUIClick",root,function () if source == lsegir then guiSetVisible(AstronautBilgi,false) guiSetVisible(Astronautkonus,true) end end) pad click will be opened Link to comment
#\_oskar_/# Posted May 9, 2020 Share Posted May 9, 2020 Just now, Resulcan said: pad click will be opened I do not understand you what do you want to do ? Link to comment
Resulcan Posted May 9, 2020 Author Share Posted May 9, 2020 1 minute ago, #\_oskar_/# said: I do not understand you what do you want to do ? on the map Ped showCursor( true ) after clicking I want the pain of the panel Ped & Panel Link to comment
#\_oskar_/# Posted May 9, 2020 Share Posted May 9, 2020 onElementClicked -- show panel with clicking on the ped or any element Link to comment
#\_oskar_/# Posted May 9, 2020 Share Posted May 9, 2020 43 minutes ago, Resulcan said: thks welcome ☺ Link to comment
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