Results 1 to 5 of 5

Threaded View

  1. #1
    Black666Devil666's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    57
    Reputation
    10
    Thanks
    1
    My Mood
    Yeehaw

    need help whit heal tool from admin menu

    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
    Last edited by Black666Devil666; 06-07-2011 at 09:35 AM.