Jump to content

Help replacing TXD's and DFF's


Chaprnks

Recommended Posts

function replaceModel() 
 txd_deserteagle = engineLoadTXD("files/desert_eagle.txd" )
 engineImportTXD(txd_deserteagle, 348)
 dff_deserteagle = engineLoadDFF("files/desert_eagle.dff", 348 )
 engineReplaceModel(dff_deserteagle, 348)
end
addEventHandler ( "onClientResourceStart", getRootElement(), replaceModel)

I was trying to figure out the model ID for the desert eagle in the characters hand. I tried 24, and that fully didn't do anything. I also tried 348, used for the pickup. This changed the little picture on the top right where it displayed his clip and ammo. I still cannot get the actual gun model on the character to change. These models have been tested in "SAMI" on single player and have worked correctly, is there possibly another model ID I am missing out on?

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