Chaprnks Posted July 23, 2009 Share Posted July 23, 2009 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
Gamesnert Posted July 23, 2009 Share Posted July 23, 2009 Weapon models can't be replaced yet. In the nightlies, only textures work and in DP2.3 nothing can be done with weapons at all iirc. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now