tony402 Posted May 1, 2014 Share Posted May 1, 2014 hi, i was wondering if anyone knows how to add custom rims into mta on custom car i already have? Link to comment
Castillo Posted May 1, 2014 Share Posted May 1, 2014 Use the engine functions. engineLoadTXD engineImportTXD engineLoadDFF engineReplaceModel Link to comment
tony402 Posted May 1, 2014 Author Share Posted May 1, 2014 How do i do that? im new to this. Is there a resource that could put it in for me? Link to comment
Toffbrown Posted May 3, 2014 Share Posted May 3, 2014 function rim() txd = engineLoadTXD("locationofthe.txd", id ) engineImportTXD(txd, id) dff = engineLoadDFF("locationofthe.dff", id ) engineReplaceModel(dff, id) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), rim) so for the engineLoadTXD it "loading" the TXD file then engineImportTXD "inserts" it into the server so then you can see it. the id is the ID of the rim you wan't to replace The ID's range from 1083-1097 (extracted this from admin resource) Link to comment
Toffbrown Posted May 3, 2014 Share Posted May 3, 2014 thought i might add @xXMADEXx i have tried Remi-X's Modloader before but the rim's never worked for me, but is perfect for vehicle mods Link to comment
Grim_The_X_Reaperr Posted May 3, 2014 Share Posted May 3, 2014 ( Jesus Christ is Lord and Savior ) if you like i can script you what you want i do modding all the time on the server i'm currently working on its no problem for me to toss out my Wheel Replace Script but the guy before showed you a perfect example almost thats what you need to do but contact me i can show you how to do it or just the simple copy and paste off my code to add your own let me know God Bless all ( Jesus Christ is Lord and Savior ) Link to comment
tony402 Posted May 5, 2014 Author Share Posted May 5, 2014 ( Jesus Christ is Lord and Savior )if you like i can script you what you want i do modding all the time on the server i'm currently working on its no problem for me to toss out my Wheel Replace Script but the guy before showed you a perfect example almost thats what you need to do but contact me i can show you how to do it or just the simple copy and paste off my code to add your own let me know God Bless all ( Jesus Christ is Lord and Savior ) Yes pls if u can do it for me I would really appreciate that because I'm new to this. Link to comment
Toffbrown Posted May 6, 2014 Share Posted May 6, 2014 if you need further just Direct message me Link to comment
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