Player change team

Locked
Whispere
Posts: 25
Joined: Sun Jan 17, 2010 5:22 pm

Player change team

Post by Whispere »

Hello again,
I need to help :), I want to my zombie mod, when the player of red team hit the player of blue team, the player from b team change team and he move to red team between zombies.

Thanks for every advice.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Player change team

Post by ^misantropia^ »

Check out SetTeam() in game/g_cmds.c, that should give you something to start with.
Locked