IgN0RE Posted December 22, 2013 Share Posted December 22, 2013 Hey guys,I am new in the scripting domain and please can you help me with dxdrawimage.What I want to do? Simple! I just wanna put an image in F1,which means that I wanna put a image in freeroam gui.Please dont come with the comments like : you are weak,you are ...I just wanna know to put into my server an image.Thanks and Merry Christmas! Link to comment
Castillo Posted December 22, 2013 Share Posted December 22, 2013 Instead of using dxDrawImage, you should use guiCreateStaticImage, I'm not sure how will you do it though, since the way the freeroam was scripted is different ( it uses OOP and a auto-positioning system for the buttons/labels ). Link to comment
tosfera Posted December 22, 2013 Share Posted December 22, 2013 Instead of using dxDrawImage, you should use guiCreateStaticImage, I'm not sure how will you do it though, since the way the freeroam was scripted is different ( it uses OOP and a auto-positioning system for the buttons/labels ). I do have to tell you this; "Lua is not really an object-oriented langauge, and it doesn't have a built-in concept of classes. ". So it's not actualy OOP. With the basic knowledge of tables and LUA you can add this. Because: "But it is easily possible to create your own class system using tables and metatables." Source; http://lua-users.org/wiki/ObjectOrientationTutorial Link to comment
Castillo Posted December 22, 2013 Share Posted December 22, 2013 I already know that. Link to comment
tosfera Posted December 22, 2013 Share Posted December 22, 2013 I already know that. Oke, just thought that I should've let you know because you said: "it uses OOP", haha. Sorry, enough off topic. 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