Results 1 to 9 of 9

Thread: Help with counting players!!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    You should enable developer, then see that this throws an "infinite loop error", use common sense and add a wait. Probably want to thread this as well.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. #2
    Private
    Join Date
    Jul 2016
    Posts
    47
    Thanks
    0
    Thanked 1 Time in 1 Post
    is this function correct?
    checkMatchStart()
    {
    oldvalue["teams"] = level.exist["teams"];
    level.exist["teams"] = false;

    if(level.exist["allies"] && level.exist["axis"])
    level.exist["teams"] = true;

    if(!oldvalue["teams"] && level.exist["teams"])
    {
    if(!game["matchstarted"])
    {
    level notify("kill_endround");
    level.roundended = false;
    level thread endRound("reset");
    }
    else
    {
    level notify("kill_endround");
    level.roundended = false;
    level thread getTeamWinHUD("draw");
    level thread endRound("draw");
    }
    return;
    }
    }

Posting Permissions

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