klass Posted December 3, 2012 Share Posted December 3, 2012 Hi all , this is my question , how to create an image that meets the button function? , I dont know please respond Link to comment
Castillo Posted December 3, 2012 Share Posted December 3, 2012 You mean to do something when you click it? then you just use the event: onClientGUIClick Link to comment
klass Posted December 3, 2012 Author Share Posted December 3, 2012 You mean to do something when you click it? then you just use the event: onClientGUIClick Thanks C: men :B Link to comment
toptional Posted December 4, 2012 Share Posted December 4, 2012 Kind of on topic When making a GUI, is it possible to make the picture the button? insteaed of those ugly buttons? Link to comment
Castillo Posted December 4, 2012 Share Posted December 4, 2012 Of course it is, I've done that on many scripts. Any GUI element can become a "button". Link to comment
toptional Posted December 4, 2012 Share Posted December 4, 2012 Thanks but LOL What functions ? Link to comment
Castillo Posted December 4, 2012 Share Posted December 4, 2012 What do you mean by "what functions"? the event onClientGUIClick is triggered every time you click ANY GUI-element. Link to comment
toptional Posted December 4, 2012 Share Posted December 4, 2012 Is adding a picture going to be a gui element? (i think so) and whats the function to show a peicture dx something? Link to comment
Anderl Posted December 4, 2012 Share Posted December 4, 2012 Does the "gui" prefix means anything to you in guiCreateStaticImage? To show a picture with DirectX functions, use dxDrawImage. Link to comment
toptional Posted December 4, 2012 Share Posted December 4, 2012 I never remember these functions (worst memory) lol ty Link to comment
myonlake Posted December 4, 2012 Share Posted December 4, 2012 You can make buttons out of DirectX as well and they have better animations but GUI functions are good enough in my opinion. 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