Geff B
Results
2
comments of
Geff B
Im not so sure with this. You might need to wait for the player to spawn before calling this code. If you crete a listener function for "npc_spawned" and then...
Sorry for the late reply. This will set the number of players. It should be used in the InitGameMode() function if your addon_game_mode.lua ``` local PLAYERS_PER_TEAM = 3 GameRules:SetCustomGameTeamMaxPlayers(DOTA_TEAM_GOODGUYS, PLAYERS_PER_TEAM)...