01.01.2012, 17:56
Hello people,
First a very Happy New Year.
I am making a TDM and i have got a medic class.I don't want the medic class to be availible on spawn i want like on spawn player can select TEAM_RED or TEAM_BLUE.(I have that code).After that i view hem a menu what to become including many things like Sniper,Medic etc etc.
ow can i do it that if player selects medic then if he is in TEAM_BLUE his team gets changed to MEDIC_BLUE and if he is in TEAM_RED his team gets changed to MEDIC_RED.
Thank You!!
First a very Happy New Year.
I am making a TDM and i have got a medic class.I don't want the medic class to be availible on spawn i want like on spawn player can select TEAM_RED or TEAM_BLUE.(I have that code).After that i view hem a menu what to become including many things like Sniper,Medic etc etc.
ow can i do it that if player selects medic then if he is in TEAM_BLUE his team gets changed to MEDIC_BLUE and if he is in TEAM_RED his team gets changed to MEDIC_RED.
Thank You!!