Hi! I'm making a game with teams where the players can choose their team, but I don't want that one team has 10 players and one team 2 players.
Does someone know what script I need to make it?
PS: If my English is bad, It's because I'm from another country.
the following should work
local team; int max_players_on_team = 10; if (#team:GetPlayers() > max_players_on_team) cout<<"Team full"; else cout<<"team not full"; end
Closed as Not Constructive by programmerHere, Just2Terrify, CeramicTile, User#23252, and royaltoe
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?