Changed Player variable to not subtract 1. Status bar will now show all players logged in.

This commit is contained in:
Zepheris 2020-02-20 16:11:10 -07:00
parent 3fe39a1d25
commit 4aa2e8ee87
3 changed files with 126 additions and 126 deletions

View File

@ -57,7 +57,7 @@ disableSerialization;
_time = (round(240-(serverTime)/60)); //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals _time = (round(240-(serverTime)/60)); //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals
_hours = (floor(_time/60)); _hours = (floor(_time/60));
_minutes = (_time - (_hours * 60)); _minutes = (_time - (_hours * 60));
_players = (count playableUnits -1); _players = (count playableUnits);
switch(_minutes) do { switch(_minutes) do {
case 9: {_minutes = "09"}; case 9: {_minutes = "09"};

View File

@ -58,7 +58,7 @@ disableSerialization;
_time = (round(240-(serverTime)/60)); //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals _time = (round(240-(serverTime)/60)); //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals
_hours = (floor(_time/60)); _hours = (floor(_time/60));
_minutes = (_time - (_hours * 60)); _minutes = (_time - (_hours * 60));
_players = (count playableunits -1); _players = (count playableunits);
switch(_minutes) do { switch(_minutes) do {
case 9: {_minutes = "09"}; case 9: {_minutes = "09"};

View File

@ -56,7 +56,7 @@ disableSerialization;
_time = (round(240-(serverTime)/60)); //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals _time = (round(240-(serverTime)/60)); //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals
_hours = (floor(_time/60)); _hours = (floor(_time/60));
_minutes = (_time - (_hours * 60)); _minutes = (_time - (_hours * 60));
_players = (count playableUnits -1); _players = (count playableUnits);
switch(_minutes) do { switch(_minutes) do {