Dev Posted May 8, 2013 Posted May 8, 2013 Hey there, so I'm basically trying to replace a texture with a .png file I downloaded, I know it's possible as I've seen a number of servers doing it, but I have no clue what to do, the texture I want to replace is a wall and I know dxCreateTexture and dxCreateShader play a part in this, but no idea how to get this going. Some guidance please? "First they ignore you, then they laugh at you, then they fight you, then you win." - Mahatma Gandhi (1869-1948)
xXMADEXx Posted May 8, 2013 Posted May 8, 2013 The texture way is kinda hard, i would just try to find the .txd in the gta3.img file. The Ultimate Lua Tutorial! | MTA PHP SDK
Metall Posted May 9, 2013 Posted May 9, 2013 Well, sortof you asked how to load it so here it is: "picture.png" /> Sorry for not being able to help you further, also, shaders is the only way possible i think, atleast a easy one. I
Moderators IIYAMA Posted May 9, 2013 Moderators Posted May 9, 2013 The texture way is kinda hard, i would just try to find the .txd in the gta3.img file. As RoG}xXMADEXx said. Use txd workshop + photoshop(or something else) It will probably give more performance, while gaming. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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