CastiaL Posted August 4, 2019 Share Posted August 4, 2019 (edited) I created a DGS Panel and created a Radio Button. Start function twice when I start the Radio Button. Sample: rb1 = dgsCreateRadioButton (35, 285, 157, 25, "Nos NORMAL", false, panel) rb2 = dgsCreateRadioButton (35, 315, 157, 25, "Nos NFS", false, panel) rb3 = dgsCreateRadioButton (35,340,157,30, "Nos HYBRID", false, panel) ----- if source == rb1 OutputNotification ("Nos Stilin NORMAL Here it is", 4) executeCommandHandler ("nos", "normal") elseif source == rb2 then outputNotification ("Nos Stilin Today by NFS", 4) executeCommandHandler ("nos", "nfs") elseif source == rb3 then outputNotification ("Nos Stilin is Here by HYBRID", 4) executeCommandHandler ("nos", "hybrid") last ----- RESULT = outputNotification ("Nos Stilin Made by NFS", 4) executeCommandHandler ("nos", "nfs") outputNotification ("Nos Stilin Today by NFS", 4) executeCommandHandler ("nos", "nfs") --------------------------------- I Solved the Problem Edited August 4, 2019 by CastiaL I Solved the Problem Link to comment
xMKHx Posted April 28, 2020 Share Posted April 28, 2020 Did u fix it please or find a solution ? Link to comment
Scripting Moderators thisdp Posted April 28, 2020 Scripting Moderators Share Posted April 28, 2020 1 hour ago, xMKHx said: Did u fix it please or find a solution ? https://wiki.multitheftauto.com/wiki/Resource:Dgs#Client_Events see example in onDgsMouseClick. Or you can use these: onDgsMouseClickDown onDgsMouseClickUp Link to comment
xMKHx Posted April 29, 2020 Share Posted April 29, 2020 20 hours ago, thisdp said: https://wiki.multitheftauto.com/wiki/Resource:Dgs#Client_Events see example in onDgsMouseClick. Or you can use these: onDgsMouseClickDown onDgsMouseClickUp Thank you ! Link to comment
Recommended Posts