Changing the Player model without respawning

Posts 1–3 of 3 · Page 1 of 1
Changing the Player model without respawning
Title says it all.

The problem is the following:
Im trying to make a Infected gametype.
When the first infected is choosen, he changes teams. This means he will become part of the axis team.
The problem is, the model stays the same... so the player still looks like a TF141 player.

The model changes to the OpFor/Militia model when the player respawns.
But is it possible to change it the moment he switches teams? without the respawning?
Sorry, dont know how to edit my post, but i found out how to do it:

Code:
self detachAll();
[[game[self.team+"_model"][MODELNAME]]]();
Where model name should be one of the following:
"GHILLIE"
"SNIPER"
"ASSAULT"
"SMG"
"RIOT"
"SHOTGUN"
"LMG"
is there any way to get this command working just for the sniper class? I'd like to play without the (urban/desert) sniper ghillie suit.

thanks
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us