Changing Models

Post Reply
SaintSin
New to forums
New to forums
Posts: 8
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon May 27, 2013 5:08 pm

Changing Models

Post by SaintSin »

Currently I have a pointshop set up with donators models. When they buy a custom model and equip it. The model will change to the new one, but when the round starts it is reset.


Any way to stop the model from resetting every round?
Example:

15 seconds till round starts
Player model = nanosuit
Round start
Player model = classic
Player changes model to nanosuit

new round
Player model = classic
adracko
New to forums
New to forums
Posts: 2
Joined: Thu Jun 20, 2013 6:47 am

Re: Changing Models

Post by adracko »

go to your /garrysmod/gamemodes/terrortown/gamemode/player_ext.lua file

Look for line 271 [ GAMEMODE:PlayerSetModel(self)]

Change it to [-- GAMEMODE:PlayerSetModel(self)] to comment out that line of code

Profit
Simmi
New to forums
New to forums
Posts: 8
Joined: Fri Jun 21, 2013 8:26 pm

Re: Changing Models

Post by Simmi »

Thank you for posting the answer. Only other issue I have seen is alot of my player models are different colors. It isnt pulling the right materials it seems. Some are green. Some blue. Any clue what is causing it or how to fix it?
SaintSin
New to forums
New to forums
Posts: 8
Joined: Mon May 27, 2013 5:08 pm

Re: Changing Models

Post by SaintSin »

Thanks for the response.

To fix the coloured models go to:
/garrysmod/cfg/server.cfg

add this line to it:
ttt_playercolor_mode 0
Post Reply