Pinda Posted April 13, 2010 Posted April 13, 2010 is it possible to change a vehicle txd in a map ? like with objects and teksture = engineLoadTXD("object") engineImportTXD(teksture)
Pinda Posted April 13, 2010 Author Posted April 13, 2010 i dont get it, what and how to replace. it's not the same as replacing objects
SATAN Posted April 13, 2010 Posted April 13, 2010 https://wiki.multitheftauto.com/wiki/EngineLoadTXD txd = engineLoadTXD ( "euros.txd" ) engineImportTXD ( txd, 587 ) so its basically the same as replacing object textures
Pinda Posted April 13, 2010 Author Posted April 13, 2010 so txd = engineLoadTXD ( "euros.txd" ) engineImportTXD ( txd, 587 ) in the client.lua and <file src="euros.txd" /> in the meta
SATAN Posted April 13, 2010 Posted April 13, 2010 client.lua function replaceTXD() txd = engineLoadTXD ( "euros.txd" ) engineImportTXD ( txd, 587 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) meta.xml <meta> <script src="client.lua" type="client" /> <file src="euros.txd" /> </meta>
Pinda Posted April 13, 2010 Author Posted April 13, 2010 ok thanks! and the 587 is the code for the car ?
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