View Single Post
Author Message
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 07-03-2018 , 07:26   Limit number of servers
Reply With Quote #1

Who knows how I can do some limit to file .bat to can't be opened more servers if I write wrong, 999999 to be opened 20 for example maxim.

Code:
set /p max_servers= How many servers would you like to start?      (Ex 5)
start /min /low hlds.exe -console -game cstrike -heapsize 15000 +sys_ticrate 10000 +port %port_add% + sv_lan 0
-> this is start line

When I execut the file "start.bat", and there will ask how many servers, and if I write more than "X servers" do not allow or to open a maximum of ...
smiley92 is offline