Ulysses

General => Off-Topic => Topic started by: Dharmvir Sidhu on December 28, 2014, 12:28:05 PM

Title: Player Models disappear
Post by: Dharmvir Sidhu on December 28, 2014, 12:28:05 PM
So i added player models to my ttt pointshop, and they work fine, the only problem i have is that when the round starts, the player models go back to the default playermodel, even though it is already equipped, it doesnt show up and you appear as a default. When you spawn, you spawn with it on, but when round starts, it dissapears. The only way to fix this ive found so far is to holster, then re-equip the player model after the round starts, is there any permanent fix to this?
Title: Re: Player Models disappear
Post by: Zmaster on December 28, 2014, 12:39:48 PM
There's a specific line of code in the TTT gamemode files that forces players to use a certain model when the round starts

The file is
gamemodes/terrortown/gamemode/player_ext.lua
I'm not sure exactly which line it is, but it's somewhere around line 271
It might even be line 271 idk it's been a while
All you need to do is comment the line out and you'll be good to go
Title: Re: Player Models disappear
Post by: Dharmvir Sidhu on December 28, 2014, 03:36:41 PM
my line was different, but figured it out, thanks :)