Jump to content



Member Since 25 Dec 2016
OFFLINE Last Active Sep 03 2020 05:27 PM

#23566 Snipers change to other class Omni-Bot

Posted by mRcOOL on 23 April 2017 - 07:06 AM

What to do to keep the snipers in a Sniper map? Now they start as snipers and after a while the changed (after dying) to other class

Solution (Tx to Palota)

The problem is on line 2363 in file global_scripts/utilities.gm
Server.MinClassCount[teamId][Util.SniperClass] = Server.MaxPlayers;


It can be fixed by replacing Server.MaxPlayers with any big number.

Server.MinClassCount[teamId][Util.SniperClass] = 99;