Results 1 to 10 of 14

Thread: Round Restart time to loop and hunters killed when go hunters when he is only zom

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by Adrien View Post
    I MEAN, HOW TO LOOP A ROUND RESTART TIME IN COD2? AND HOW TO SCRIPT FOR WHEN WE KILLED 4 HUNTERS, WE HAVE TO PRESS A BUTTON FOR SWAP TEAM.
    FOR ROUND TIME:
    After round restart:
    - destroy old timer hud;
    - destroy old loop time;
    - create new hud, loop.

    Time over:
    - do restart
    - kill all hunters with random logic

    FOR SWAPTEAM:
    PHP Code:
    CodeCallback_PlayerKilled():
    {
    if 
    eAttacker.isZombie && isAlive etc.
    {
    if (!
    isDefined(eAttacker.HuntersKilled))
        
    eAttacker.HuntersKilled 0;

    eAttacker.HuntersKilled++;

    if (
    eAttacker.HuntersKilled >= 4)
    {
        
    eAttacker.HuntersKilled 0;
        
    eAttacker doRepawnForHunters(); //or doShowButtonForRespawn


    updateHuntersKilledHud();
    }

    Last edited by maxdamage99; 23rd June 2019 at 17:42.
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

Posting Permissions

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