Jump to content

Replacing a car bodikit + Replacing rims


Recommended Posts

i think i could edit this:

outputChatBox ( "> replacing the euros vehicle" )

txd = engineLoadTXD ( "data/euros.txd" )

engineImportTXD ( txd, 587 )

dff = engineLoadDFF ( "data/euros.dff", 587 )

engineReplaceModel ( dff, 587 )

what are the IDs for the bodikit parts?

And how i start it as a resource for a server

I just know this ^

Since this is a client script so

function replace () 
outputChatBox ( "> replacing the euros vehicle" ) 
  
txd = engineLoadTXD ( "data/euros.txd" ) 
engineImportTXD ( txd, 587 ) 
dff = engineLoadDFF ( "data/euros.dff", 587 ) 
engineReplaceModel ( dff, 587 ) 
addEventHandler ( "onClientResourceStart", replace ) 

Link to comment
i think i could edit this:

outputChatBox ( "> replacing the euros vehicle" )

txd = engineLoadTXD ( "data/euros.txd" )

engineImportTXD ( txd, 587 )

dff = engineLoadDFF ( "data/euros.dff", 587 )

engineReplaceModel ( dff, 587 )

what are the IDs for the bodikit parts?

And how i start it as a resource for a server

I just know this ^

Since this is a client script so

function replace () 
outputChatBox ( "> replacing the euros vehicle" ) 
  
txd = engineLoadTXD ( "data/euros.txd" ) 
engineImportTXD ( txd, 587 ) 
dff = engineLoadDFF ( "data/euros.dff", 587 ) 
engineReplaceModel ( dff, 587 ) 
addEventHandler ( "onClientResourceStart", replace ) 

but data means inside the data folder in the same directory of the script, right?

Just like in html?

Link to comment

btw you didnt END The Function xD

  
function replace () 
outputChatBox ( "> replacing the euros vehicle" ) 
end 
  
txd = engineLoadTXD ( "data/euros.txd" ) 
engineImportTXD ( txd, 587 ) 
dff = engineLoadDFF ( "data/euros.dff", 587 ) 
engineReplaceModel ( dff, 587 ) 
addEventHandler ( "onClientResourceStart", replace ) 
  

Link to comment
btw you didnt END The Function xD
  
function replace () 
outputChatBox ( "> replacing the euros vehicle" ) 
end 
  
txd = engineLoadTXD ( "data/euros.txd" ) 
engineImportTXD ( txd, 587 ) 
dff = engineLoadDFF ( "data/euros.dff", 587 ) 
engineReplaceModel ( dff, 587 ) 
addEventHandler ( "onClientResourceStart", replace ) 
  

I just copied the script from the wiki. Need to know how to replace a model, then i'll repeat it for the rest of the models (i dont know that data folder, for example)

Link to comment
Custom vehicle resource creator online | http://mta.dzek.eu/vehicle/

https://forum.multitheftauto.com/viewtopic.php?f=91&t=31891

And how i start it as a resource for a server

https://wiki.multitheftauto.com/wiki/Server_Manual

@α7мα∂qтя, you have forgot the attachedTo in the addEventHandler

Somehow, my post ignored.

I thought that link would have a basic meta.xml and script.lua to start with

Link to comment
  • 2 weeks later...

If u are trying to change only your car:

Change in GTA3.img infernus.dff and infernus.txd and other cars like that.

If u wanna change servers cars then you can find some scripts on the internet also and change in that script infernus.dff and infernus.txd and like that.

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