Jump to content

Problem with Vehiclemod


Narushi

Recommended Posts

Hey,

i wanna import a vehiclemod for MTA, but my console says everytime, that the file fortune.txd couldn't be find.

Why ? :/

I have it in "mods/texturen/fortune.txd"

in meta.xml

    "mods/texturen/fortune.txd" /> 
    "mods/texturen/fortune.dff" /> 

in script (client-side)

function loadMods( ) 
    txd = engineLoadTXD( "models/infernus.txd" ) 
    engineReplaceTXD( txd, 526) 
    dff = engineLoadDFF( "models/infernus.dff" , 526 ) 
    engineReplaceModel( dff, 526) 
     
end 
  
addEventHandler("onRecourceStart", getResourceRootElement(getThisResource()), loadMods) 

Link to comment

i get this error in console :/

[2013-01-05 06:52:39] ERROR: Couldn't parse meta file for resource 'kagnatsu' 
[2013-01-05 06:52:39] Loading of resource 'kagnatsu' failed 
[2013-01-05 06:52:46] Resources: 194 loaded, 0 failed 
[2013-01-05 06:52:46] Querying game-monitor.com master server... failed! (302: Moved temporarily) 
[2013-01-05 06:52:47] Querying backup master server... success! 
[2013-01-05 06:52:47] Starting resources.................. 
[2013-01-05 06:52:49] Server started and is ready to accept connections! 
[2013-01-05 06:52:49] To stop the server, type 'shutdown' or press Ctrl-C 
[2013-01-05 06:52:49] Type 'help' for a list of commands. 
[2013-01-05 06:52:55] start: Resource could not be found 
  
start kagnatsu 
[06:52:55] start: Resource could not be found 
 

Link to comment
function loadMods( ) 
    txd = engineLoadTXD( "infernus/fortune.txd" ) 
    engineReplaceTXD( txd, 526) 
    dff = engineLoadDFF( "infernus/fortune.dff" , 526 ) 
    engineReplaceModel( dff, 526) 
end 
addEventHandler("onClientResourceStart", resourceRoot, loadMods) 

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