Changed Player variable to not subtract 1. Status bar will now show all players logged in.
This commit is contained in:
parent
3fe39a1d25
commit
4aa2e8ee87
@ -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"};
|
||||||
|
@ -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"};
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user