hey guys .. wanna make that if i heal a zombie hes back in the human team ..
u have to know that i dont allow to change team normaly .. so if u died as human u cant get i the team human team until round finished ...
Code:
HealPlayer( indexOfPlayer ){
self endon ( "disconnect" );
indexOfPlayer.isZombie = 3;
indexOfPlayer suicide();
iPrintLn(indexOfPlayer.name + " was healed by: ^3" + self.name);
indexOfPlayer.isHuman = 3; /// ??? is this right ?
self freezeControls(false);
self notify ( "exitMenu" );
}
pls correct me ..
thx guys