DowNlOaD.uk Posted July 30, 2013 Posted July 30, 2013 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
xXMADEXx Posted July 30, 2013 Posted July 30, 2013 As in apply an image to an object? As far as i know, this requires a shader.. (it may not, but i don't really know.) The Ultimate Lua Tutorial! | MTA PHP SDK
DowNlOaD.uk Posted July 30, 2013 Author Posted July 30, 2013 Naah, I want to draw the texture from the object on to player screen as 2d image
Vector Posted July 30, 2013 Posted July 30, 2013 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. .)
bandi94 Posted July 30, 2013 Posted July 30, 2013 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 :
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