Jump to content

MTA car mods


Thimo

Recommended Posts

Whats wrong with this code:

function Replace( )
 
 
   elgtx = engineLoadTXD ( "txd/buffalo.txd" )
engineImportTXD ( elgtx, 402 )
   elgdf = engineLoadDFF ( "txd/buffalo.dff", 402 )
engineReplaceModel ( elgdf, 402 )
end
 
 
addEventHandler('onClientResourceStart', resourceRoot, replace)
addCommandHandler ( "replace", replace )

Meta here

<meta>
<info author="thimo" type="script" version="1.0"/>
<script src="Mod.lua" type="client"/>
<file src="txd/buffalo.txd" type="client" />
<file src="txd/buffalo.dff" type="client " />
</meta>

Pl stell me what im doing wrong! i tried very much but maybe you guys can find a error in it :S

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