• Auto Assigning and Team Limitations
    0 replies, posted
OK I'm new to LUA, and so far my Fretta-Based GameMode is going along nicely. There is however one thing that I need help with. In my GameMode, there are 2 teams. One thing I want to figure out is how to limit the number of people on one team. For example, let's say I wanted Team A to have a team limit of 3 people (only 3 people on that team) but I wanted team B to have 4 people on it. Another thing is auto-assigning. I want to know how I can make the server randomly choose a player to be on a team every time the round changes. (for example, Bob is on Team B and Joe is on Team A for the 1st round, but then the next round, the computer randomizes it and makes Joe on Team B and Bob on Team A). If you can help me, then thank you.
Sorry, you need to Log In to post a reply to this thread.