Jump to content
  • 0

Mod Problem.


Slifer

Question

11 answers to this question

Recommended Posts

  • 0
function replaceModel() 
        local col = engineLoadCOL('car/tube.col')  
    engineReplaceCOL(col, 13637) 
  txd = engineLoadTXD("car/tube.txd", 13637 ) 
  engineImportTXD(txd, 13637) 
  dff = engineLoadDFF("car/tube.dff", 13637 ) 
  engineReplaceModel(dff, 13637) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 
  
addCommandHandler ( "reloadcar", replaceModel ) 

Meta :

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

Edited by Guest
Link to post
  • 0
function replaceModel() 
  local col = engineLoadCOL('car/tube.col') 
  engineReplaceCOL(col, 13637) 
  txd = engineLoadTXD("car/tube.txd") 
  engineImportTXD(txd, 13637) 
  dff = engineLoadDFF("car/tube.dff", 0 ) 
  engineReplaceModel(dff, 13637) 
end 
addEventHandler ( "onClientResourceStart", resourceRoot, replaceModel) 
addCommandHandler ( "reloadcar", replaceModel ) 

Link to post
  • 0
function replaceModel() 
      local col = engineLoadCOL('car/tube.col') 
      engineReplaceCOL(col, 13637) 
      txd = engineLoadTXD("car/tube.txd") 
      engineImportTXD(txd, 13637) 
      dff = engineLoadDFF("car/tube.dff", 0 ) 
      engineReplaceModel(dff, 13637) 
    end 
    addCommandHandler ( "reloadcar", replaceModel ) 
  

Link to post

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