Jump to content

[HELP ME]EngineImportTXD


xTravax

Recommended Posts

Hello Guys!

I need Help,i found EngineImportTXD on wiki so,i done it and i replace euros.dff and euros.txd with turismo

and ofcourse i changed id of car so when i changed it it was all good.It didn't worked in my Online server,But

It worked in my local server o.O!?

so i tried just to put script how it was but still didn't work o.O(Remember i got code from wiki.mtasa.com)

so please fix it here it is

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

Link to comment

client

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

meta.xml

  

    

Link to comment
  • Other Languages Moderators
addEventHandler("onClientResourceStart",getRootElement(),replace) 

to

addEventHandler("onClientResourceStart",resourceRoot,replace) 

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