Jump to content

Draw object texture


Recommended Posts

Posted

Hello,

As the topic title says, how can I draw with dxDrawImage the object texture. I saw dxCreateTexture but I don't want to create a new texture, I just want to get the texture element of an object.

Thanks ;)

Posted

you can´t do that. dxDrawImage is just for textures created via dxCreateTexture and not for world textures.

there are two kinds of people: those who know C++ and those who don´t. .)

Posted

Well you can unpack GTA:SA txd's search your object's txd then extract the image from it , after you can draw it with dxDrawImage

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

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