Jump to content

How to add mods into your MTA server?


wumpyc

Recommended Posts

Posted

yea have any idea which or where to find them because when i place map in resources and place in map .dff .txd of vehicle and when i type start gallardo in console it type that resoursce couldnt been found HELP ME PLZ

Posted
no the name of folder is gallardo and inside are files infernus.dff,infernus.txt,infernus1.txt,infernus2.txt,infernus3.txt

And where is the meta.xml and why you are using .txt ?

Posted

your meta xml should look :

    "NAME" version="1.0" type="script"/> 
    

you carpack should look :

function replaceModel()  
  txd = engineLoadTXD("PATH TO TXD", CAR ID ) 
  engineImportTXD(txd, CAR ID) 
  dff = engineLoadDFF("PATH TO MOD DFF", CAR ID ) 
  engineReplaceModel(dff, CAR ID) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 
  
addCommandHandler ( "reloadcar", replaceModel ) 

  • 1 year later...
Posted

tim when i put the things the xml and lua and make the "resource" in the folder and put in the xml and lua the stuff u said and put the directorys aswell but when i run the server it says error could not found file manana.txd put it is in the directory!!! please help!!!

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