klass Posted December 3, 2012 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
Castillo Posted December 3, 2012 Posted December 3, 2012 You mean to do something when you click it? then you just use the event: onClientGUIClick
klass Posted December 3, 2012 Author Posted December 3, 2012 You mean to do something when you click it? then you just use the event: onClientGUIClick Thanks C: men :B
toptional Posted December 4, 2012 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?
Castillo Posted December 4, 2012 Posted December 4, 2012 Of course it is, I've done that on many scripts. Any GUI element can become a "button".
Castillo Posted December 4, 2012 Posted December 4, 2012 What do you mean by "what functions"? the event onClientGUIClick is triggered every time you click ANY GUI-element.
toptional Posted December 4, 2012 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?
Anderl Posted December 4, 2012 Posted December 4, 2012 Does the "gui" prefix means anything to you in guiCreateStaticImage? To show a picture with DirectX functions, use dxDrawImage.
toptional Posted December 4, 2012 Posted December 4, 2012 I never remember these functions (worst memory) lol ty
myonlake Posted December 4, 2012 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.
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