xPr3d4t0Rs 1 Report post Posted December 6, 2015 What is the stock model for "Marines"? I want to use setmodel() function to change model of a player. Share this post Link to post Share on other sites
Volarific 0 Report post Posted December 11, 2015 Theres 5 different models for "marines", the sniper model, the assault model, spec ops model, demolitions model. In my mod I use this: playerModelForWeapon( weapon ) { self detachAll(); weaponClass = tablelookup( "mp/statstable.csv", 4, weapon, 2 ); switch ( weaponClass ) { case "weapon_smg": [[game[self.pers["team"]+"_model"]["SPECOPS"]]](); break; case "weapon_assault": [[game[self.pers["team"]+"_model"]["ASSAULT"]]](); break; case "weapon_sniper": [[game[self.pers["team"]+"_model"]["SNIPER"]]](); break; case "weapon_shotgun": [[game[self.pers["team"]+"_model"]["RECON"]]](); break; default: [[game[self.pers["team"]+"_model"]["ASSAULT"]]](); break; } } Hope this helps. Share this post Link to post Share on other sites
xPr3d4t0Rs 1 Report post Posted December 11, 2015 Thanks friend. And where I put the function? In which script? Share this post Link to post Share on other sites
Volarific 0 Report post Posted December 13, 2015 Thanks friend. And where I put the function? In which script? Where ever your set model script is. Share this post Link to post Share on other sites