Jump to content

[HELP] Custom Wheels


Recommended Posts

Posted

Use the engine functions.

engineLoadTXD 
engineImportTXD 
engineLoadDFF 
engineReplaceModel 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
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)

nJgL8wr.png

I DON'T HAVE HATERS, I JUST HAVE FANS IN DENIAL

Posted

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

nJgL8wr.png

I DON'T HAVE HATERS, I JUST HAVE FANS IN DENIAL

Posted

( 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 )

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

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