How i did it was by changing the model (or skin if you really want to) in the player->Spawn() code, depending on their team number. When the player changes team, they should player->CommitSuicide(), then it'll run spawn code.
On Mon, 6 Dec 2004 22:30:08 -0500, Josh <[EMAIL PROTECTED]> wrote: > UTIL_SetModel in util.h > > Josh > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ray > Sent: Monday, December 06, 2004 10:13 PM > To: [EMAIL PROTECTED] > Subject: [hlcoders] Playerinfo->ChangeTeam > > I use the playerinfo->ChangeTeam function and it changes what team is one, > but it doesnt change his Skin. > > Any one have an Idea how to change there skin to the correctly matching > team? > > I assumed the ChangeTeam() function would change all needed attributes. > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders