Jump to content

Wheel Mod Help


ReGo

Recommended Posts

  • Moderators
  
addEventHandler("onClientResourceStart", resourceRoot,  
    function()  
        txd = engineLoadTXD("wheel.txd", id) 
        engineImportTXD(txd, id) 
        dff = engineLoadDFF("wheel.dff", id) 
        engineReplaceModel(dff, id) 
    end 
) 

Vehicle upgrades

Link to comment

LINE NUMBER ON/OFF | EXPAND/CONTRACT | SELECT ALL

addEventHandler("onClientResourceStart", resourceRoot,

function()

txd = engineLoadTXD("wheel.txd", id)

engineImportTXD(txd, id)

dff = engineLoadDFF("wheel.dff", id)

engineReplaceModel(dff, id)

end

)

This ir Car mods Settings

Please Give Car Wheels mod Settings

Link to comment
  • Moderators

I didn't understand what you say.

If you want to replace the wheels, put the path of the your wheel mod and the ID of the wheel in the code I posted.

Also, You need of the meta.xml file.

<meta> 
    <script src="client.lua" type="client" /> 
    <file src="wheel.dff" type="client" /> 
    <file src="wheel.txd" type="client" /> 
</meta> 

Put the path of the your wheel mod on the meta.xml too, and the script name.

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