SetPlayers

Parameters
playercount integer
comment
note

This function shall only be used within the scope of function config in war3map.j, it is executed by the game when you load the lobby/selected the map for preview.

note

The maximum amount of players (12 or 24) is determined by WorldEditor version specified in the map's war3map.w3i file. Further reading.

patch

1.00

Source
common.j
return type
nothing
Source code
native SetPlayers           takes integer playercount returns nothing