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 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
toptional Posted December 4, 2012 Posted December 4, 2012 I never remember these functions (worst memory) lol ty
Anderl Posted December 4, 2012 Posted December 4, 2012 You're welcome. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
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. If I helped you, please click the like button on the right Thanks!
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