Results 1 to 6 of 6

Thread: cod2 hunter script

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 451 Times in 305 Posts
    Quote Originally Posted by wizzardjanni View Post
    hello.

    does anybody know a script that when you kill 2 hunter as zombie that you become hunter?
    In the default zombie mod you have got a cvar for it. But it requires scr_zom_lastManStanding to be 0.

    PHP Code:
    scr_zom_returnkills     The number of kills needed to return to being an Allied player - default: 
    http://callofduty.filefront.com/file...for_CoD2;53241

    PHP Code:
    //LAST MAN STANDING
    if(getcvar("scr_zom_lastManStanding") == "1")
    {
        
    //attacker.score++;
        
    if (!(thread checkRestart(self)))
        {
            
    self thread blackScreen("killed");
        }

    }    
    else
    {
        
    self thread blackScreen("killed");
        
        
    attacker.killcount++;

        if (
    attacker.killcount GetCvarInt("scr_zom_returnkills")-1)
        {
            
    attacker thread blackScreen("return");
            
    attacker thread movePlayer("allies",3);
            
    wait 0.01;
            
    thread checkRestart();

            
    noRespawn true;
        }

    Last edited by Mitch; 6th April 2014 at 21:57.

  2. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    Invictus (25th June 2014),RobsoN (6th April 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •