Cloudsx Posted April 29, 2006 Share Posted April 29, 2006 i have here a little script $Hunt=GUICtrlCreateButton("Hunt",200, 350, 40,40) While 2 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Return If $msg = $hunt then Gui2create() Wend func Gui2create() If WinExists("Hunt") then Return() $hunt= GUICreate("",100,100,700,550) GUISetBkColor(0x49bf49) GUICtrlCreatePic("Blood Hund.jpg",18,18 ,64,64) GUISetState (@SW_SHOW) EndFunc Return i want the gui2create have like a button how can i make a button of it so that i press the gui2create or the picture on gui2create and then it will display on the mother gui Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 29, 2006 Share Posted April 29, 2006 (edited) u have to have to have a GUI before you can make a button edit: just a thing , b4 u start making an RPG i would first learn the basis of stuff it seems like you dont really know alot Edited April 29, 2006 by thatsgreat2345 Link to comment Share on other sites More sharing options...
Simucal Posted April 29, 2006 Share Posted April 29, 2006 What are you trying to do here? i have here a little script $Hunt=GUICtrlCreateButton("Hunt",200, 350, 40,40) While 2 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Return If $msg = $hunt then Gui2create() Wend func Gui2create() If WinExists("Hunt") then Return() $hunt= GUICreate("",100,100,700,550) GUISetBkColor(0x49bf49) GUICtrlCreatePic("Blood Hund.jpg",18,18 ,64,64) GUISetState (@SW_SHOW) EndFunc Return i want the gui2create have like a button how can i make a button of it so that i press the gui2create or the picture on gui2create and then it will display on the mother gui AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 29, 2006 Share Posted April 29, 2006 i get what hes trying to do he just sucks at diong it, hes trying to make a button on a GUI and when u press hunt it will create a picture of "Blood Hund.jpg" haha im guessing he meant blood hound but yeah thats basicaly it Link to comment Share on other sites More sharing options...
Cloudsx Posted April 29, 2006 Author Share Posted April 29, 2006 lol that i already have only i want the blood hunt also to be an button and why you make me like i am a loser and i cant do anything good Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 29, 2006 Share Posted April 29, 2006 lol that i already have only i want the blood hunt also to be an buttonand why you make me like i am a loser and i cant do anything goodNow your putting words in my mouth, I only suggested that you put off the project and learn a little more, i never said or even hinted that you were a loser and couldn't do anything good Link to comment Share on other sites More sharing options...
Cloudsx Posted April 29, 2006 Author Share Posted April 29, 2006 lol you say somehting like "he sucks doing it" so i think by my self he dont want to do he cant program with autoit so he use other to program for him" well that not i only ask for a bit help and i need only this one that the gui2create become a button then i am done with this so i only ask if you and other can help me a bit Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 29, 2006 Share Posted April 29, 2006 (edited) i was implying you suck at explaining, thus cuz u speak a different language, hence i provided an explantion of what you were trying to do to help other better understand Edited April 29, 2006 by thatsgreat2345 Link to comment Share on other sites More sharing options...
Cloudsx Posted April 29, 2006 Author Share Posted April 29, 2006 oka here comes if i press the hunt button then gui2crete come with the picture of blood hunt i want that the picture or/and a Button is if i press the button of gui2create (the picture or the whole gui2create) then it goes to the guicreate and you can fight against it i hope i explane it now much better Link to comment Share on other sites More sharing options...
Cloudsx Posted April 29, 2006 Author Share Posted April 29, 2006 can some one help me with it please 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