ULX

Author Topic: Player Models disappear  (Read 3300 times)

0 Members and 2 Guests are viewing this topic.

Offline Dharmvir Sidhu

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • OMENS Gaming
Player Models disappear
« 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?

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: Player Models disappear
« Reply #1 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

Offline Dharmvir Sidhu

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • OMENS Gaming
Re: Player Models disappear
« Reply #2 on: December 28, 2014, 03:36:41 PM »
my line was different, but figured it out, thanks :)