Jump to content

Rims Change?


vXHazE

Recommended Posts

Basically start it up, locate to your GTA SA folder, it will get every single model,texture and collision (of course it is a beta it crashes sometimes, just wait like 4-15 mins before starting it up), but after when you get everything loaded up just search for the stuff you need by ID, name and you will get all of the information after you double click on an item.

Link to comment
Cheers but you're talking about GTA but if i change the files in GTA it wont change in MTA ive tried that

You don't change the files for GTA, all you do is you get the names of the files + ID which is what you need, then after that, go to ImgTool load up gta3.img and search for the rim ID, after that extract the dll and re-model, use a script code to make a resource on change of the rims.

Link to comment
  • 2 months later...
Can you give a link?

Well it's simple:

Client

function replaceModel()  
  txd = engineLoadTXD("wheel_gn1.txd", 1074 )  
  engineImportTXD(txd, 1074)  
  dff = engineLoadDFF("wheel_gn1.dff", 1074)  
  engineReplaceModel(dff, 1074) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 

P.S: -- 1074 is the id of the wheel

Link to comment

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