Jump to content

DxDrawImage


IgN0RE

Recommended Posts

Posted

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! :)

tumblr_my69dpMJWS1s8fef4o4_500.gif
Posted

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 ).

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
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

logo-small.png?v=3 tiny-sapdfr.png

 

If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]

Posted

I already know that.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...