Resulcan Posted May 22, 2020 Share Posted May 22, 2020 Olme = dgs:dgsCreateButton(9, 5, 257, 36, "Ölme", false, Wnd) don't die when you press the button Sikin = dgs:dgsCreateButton(9, 45, 257, 36, "Sikin", false, Wnd) How to Open the Panel When the Button is Pressed Link to comment
#\_oskar_/# Posted May 22, 2020 Share Posted May 22, 2020 DGS Events and GUI Events DGS Functions and GUI Functions Link to comment
Resulcan Posted May 23, 2020 Author Share Posted May 23, 2020 On 22/05/2020 at 18:37, #\_oskar_/# said: DGS Events and GUI Events DGS Functions and GUI Functions It is not Can you do it Link to comment
#\_oskar_/# Posted May 23, 2020 Share Posted May 23, 2020 1 hour ago, Resulcan said: Can you do it what ? Link to comment
MrKAREEM Posted May 23, 2020 Share Posted May 23, 2020 OnDgsMouseDown OnDgsMouseClickUp DgsSetVisible KillPed Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 9 hours ago, MrKAREEM said: OnDgsMouseDown OnDgsMouseClickUp DgsSetVisible KillPed thks bro Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 (edited) 1 hour ago, Resulcan said: thks bro https://hizliresim.com/EDAZB0 https://hizliresim.com/W8kE9Z Not dying when you click the button buttton Doesn't Die On Click Edited May 24, 2020 by Resulcan Link to comment
MrKAREEM Posted May 24, 2020 Share Posted May 24, 2020 12 minutes ago, Resulcan said: https://hizliresim.com/EDAZB0 https://hizliresim.com/W8kE9Z Not dying when you click the button buttton Doesn't Die On Click show your try bro Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 (edited) 28 minutes ago, MrKAREEM said: show your try bro Edited May 24, 2020 by Resulcan Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 7 minutes ago, -Ilker. said: put client file client already Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 2 minutes ago, -Ilker. said: All file local dgs = exports.dgs local Wnd = dgs:dgsCreateWindow(10, 273, 274, 275, "MMA Freeroam Panel", false) dgs:dgsWindowSetMovable ( Wnd, false ) dgs:dgsWindowSetSizable ( Wnd, false ) Olme = dgs:dgsCreateButton(9, 5, 257, 36, "Ölme", false, Wnd) Sikin = dgs:dgsCreateButton(9, 45, 257, 36, "Sikin", false, Wnd) Grav = dgs:dgsCreateButton(9, 85, 257, 36, "Grav", false, Wnd) Warp = dgs:dgsCreateButton(9, 125, 257, 36, "Warp", false, Wnd) Map = dgs:dgsCreateButton(9, 165, 257, 36, "Map", false, Wnd) Araba = dgs:dgsCreateButton(9, 205, 257, 36, "Araba Oluştur", false, Wnd) function commitSuicide ( sourcePlayer ) killPed ( sourcePlayer, sourcePlayer ) end addEventHandler ( "onDgsMouseClickUp", Olme,commitSuicide) addCommandHandler ( "kill", commitSuicide ) Link to comment
-Ilker. Posted May 24, 2020 Share Posted May 24, 2020 function commitSuicide ( sourcePlayer ) setElementHealth ( localPlayer , getElementHealth ( localPlayer ) - 100 ) end addEventHandler ( "onDgsMouseClickUp", Olme,commitSuicide) addCommandHandler ( "kill", commitSuicide ) try this Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 1 minute ago, -Ilker. said: function commitSuicide ( sourcePlayer ) setElementHealth ( localPlayer , getElementHealth ( localPlayer ) - 100 ) end addEventHandler ( "onDgsMouseClickUp", Olme,commitSuicide) addCommandHandler ( "kill", commitSuicide ) try this bro thk I am very happy bro panel after clicking panel you opened how can I do it Sikin = dgs:dgsCreateButton(9, 45, 257, 36, "Sikin", false, Wnd) skin = dgs:dgsCreateWindows(9,241,345,66,"Skin",false,wnd) like ? Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 Just now, -Ilker. said: dgsSetVisible is it enough for me to do this Link to comment
Resulcan Posted May 24, 2020 Author Share Posted May 24, 2020 1 hour ago, Resulcan said: is it enough for me to do this Can you get a sample Link to comment
Resulcan Posted May 25, 2020 Author Share Posted May 25, 2020 20 hours ago, -Ilker. said: example in wiki page. bro https://hizliresim.com/bDh3ov xml Skin how can i connect Link to comment
-Ilker. Posted May 26, 2020 Share Posted May 26, 2020 you can get codes from default freeroam . 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