XInFisk Posted June 25, 2007 Share Posted June 25, 2007 Hey.. Here is my script: ;start $Start = GUICreate("Start", 405, 296, 303, 219) $Buybinds = GUICtrlCreateButton("Buy binds", 24, 72, 83, 33, 0) $welcometofakenick = GUICtrlCreateLabel("Welcome to Fakenick * ahls script maker!", 24, 16, 348, 28) GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif") GUISetState(@SW_SHOW) While 1 $Msg = GUIGetMsg() Select Case $msg = $Buybinds ;buy bind key $Buykeyform = GUICreate("Buy key", 354, 78, 361, 362) $Buykey = GUICtrlCreateLabel("Bind buy key", 144, 0, 65, 17) $f1 = GUICtrlCreateButton("f1", 8, 32, 25, 25, 0) $f2 = GUICtrlCreateButton("f2", 32, 32, 25, 25, 0) $f3 = GUICtrlCreateButton("f3", 56, 32, 25, 25, 0) $f4 = GUICtrlCreateButton("f4", 80, 32, 25, 25, 0) $f5 = GUICtrlCreateButton("f5", 128, 32, 25, 25, 0) $f6 = GUICtrlCreateButton("f6", 152, 32, 25, 25, 0) $f7 = GUICtrlCreateButton("f7", 176, 32, 25, 25, 0) $f8 = GUICtrlCreateButton("f8", 200, 32, 25, 25, 0) $f9 = GUICtrlCreateButton("f9", 248, 32, 25, 25, 0) $f10 = GUICtrlCreateButton("f10", 272, 32, 25, 25, 0) $f11 = GUICtrlCreateButton("f11", 296, 32, 25, 25, 0) $f12 = GUICtrlCreateButton("f12", 320, 32, 25, 25, 0) EndSelect WEnd My problem is that when the $buybinds button is pressed i want it to delete the $start window and then make the $buykeyform window. Can anyone help me out here? -XInFisk Link to comment Share on other sites More sharing options...
Fabry Posted June 25, 2007 Share Posted June 25, 2007 Hey.. Here is my script: ;start $Start = GUICreate("Start", 405, 296, 303, 219) $Buybinds = GUICtrlCreateButton("Buy binds", 24, 72, 83, 33, 0) $welcometofakenick = GUICtrlCreateLabel("Welcome to Fakenick * ahls script maker!", 24, 16, 348, 28) GUICtrlSetFont(-1, 16, 400, 0, "MS Sans Serif") GUISetState(@SW_SHOW) While 1 $Msg = GUIGetMsg() Select Case $msg = $Buybinds ;buy bind key $Buykeyform = GUICreate("Buy key", 354, 78, 361, 362) $Buykey = GUICtrlCreateLabel("Bind buy key", 144, 0, 65, 17) $f1 = GUICtrlCreateButton("f1", 8, 32, 25, 25, 0) $f2 = GUICtrlCreateButton("f2", 32, 32, 25, 25, 0) $f3 = GUICtrlCreateButton("f3", 56, 32, 25, 25, 0) $f4 = GUICtrlCreateButton("f4", 80, 32, 25, 25, 0) $f5 = GUICtrlCreateButton("f5", 128, 32, 25, 25, 0) $f6 = GUICtrlCreateButton("f6", 152, 32, 25, 25, 0) $f7 = GUICtrlCreateButton("f7", 176, 32, 25, 25, 0) $f8 = GUICtrlCreateButton("f8", 200, 32, 25, 25, 0) $f9 = GUICtrlCreateButton("f9", 248, 32, 25, 25, 0) $f10 = GUICtrlCreateButton("f10", 272, 32, 25, 25, 0) $f11 = GUICtrlCreateButton("f11", 296, 32, 25, 25, 0) $f12 = GUICtrlCreateButton("f12", 320, 32, 25, 25, 0) EndSelect WEnd My problem is that when the $buybinds button is pressed i want it to delete the $start window and then make the $buykeyform window. Can anyone help me out here? -XInFiskYou use guidelete($start) to delete. After guicreate put guisetstate(@sw_show) ;start $Start = GUICreate("Start", 405, 296, 303, 219) Ð^X[ÈHÕRPÝÜX]P]Û ][ÝÐ^H[É][ÝË ÌËÌË B33c·vVÆ6öÖWFöf¶Væ6²ÒuT7G&Ä7&VFTÆ&VÂgV÷CµvVÆ6öÖRFòf¶Væ6²¢ÇÍÉ¥ÁеÈÌÌìÅÕ½Ðì°ÈаÄØ°ÌÐà°Èà¤)U% ÑɱMѽ¹Ð ´Ä°ÄØ°ÐÀÀ°À°uot;MS Sans Serif") GUISetState(@SW_SHOW) While 1 $Msg = GUIGetMsÊ BÙ[XÝØÙH ÌÍÛÙÈH ÌÍÐ^X[ÂØ^H[Ù^BÕRQ[]J ÌÍÔÝ'B¢b33c´'W¶Wf÷&ÒÒuT7&VFRgV÷C´'W¶WgV÷C²Â3SBÂsÂ3cÂ3c"¢b3ÌØí ÕåäôU% Ñɱ ÉÑ1° ÅÕ½Ðí ¥¹ÕääÅÕ½Ðì°ÄÐаÀ°ØÔ°Äܤ(36;f1 = GUICtrlCreateButton("f1", 8, 32, 25, 25, 0) $f2 = GUPÝÜX]P]Û ][ÝÙ][ÝËÌÌKK BÌÍÙÈHÕRPÝÜX]T'WGFöâgV÷C¶c2gV÷C²ÂSbÂ3"Â#RÂ#R¢b33c¶cBÒuT7G&Ä7&VFT'WGFöâgÕ½ÐíÐÅÕ½Ðì°àÀ°ÌÈ°ÈÔ°ÈÔ°À¤(ÀÌØíÔôU% Ñɱ ÉÑ ÕÑѽ¸ ÅÕ½ÐíÔÅÕt;, 128, 32, 25, 25, 0) $f6 = GUICtrlCreateButton("f6", 152,ÌKK BÌÍÙÈHÕRPÝÜX]P]Û ][ÝÙÉ][ÝËMÍÌK#R¢b33c¶cÒuT7G&Ä7&VFT'WGFöâgV÷C¶cgV÷C²Â#Â3"Â#RÂ#R¢bÀÌØíäôU% Ñɱ ÉÑ ÕÑѽ¸ ÅÕ½ÐíäÅÕ½Ðì°ÈÐà°ÌÈ°ÈÔ°ÈÔ°À¤(ÀÌØíÄÀ GUICtrlCreateButton("f10", 272, 32, 25, 25, 0) $f11 = GUICtÜX]P]Û ][ÝÙLI][ÝËMÌKK BÌÍÙLHÕRPÝÜX]T'WGFöâgV÷C¶c"gV÷C²Â3#Â3"Â#RÂ#R¤uT6WE7FFR5uõ4õr¤VæE6VÆV7)]¹( A lan chat (Multilanguage)LanMuleFile transferTank gameTank 2 an online game[center]L'esperienza è il nome che tutti danno ai propri errori.Experience is the name everyone gives to their mistakes.Oscar Wilde[/center] Link to comment Share on other sites More sharing options...
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