mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
14 lines
326 B
Plaintext
14 lines
326 B
Plaintext
private["_unitArray","_handle"];
|
|
_unitArray = [];
|
|
if (isSinglePlayer) then {
|
|
_unitArray = [player];
|
|
} else {
|
|
_unitArray = dayz_players;
|
|
};
|
|
{
|
|
if (!isNull _x) then {
|
|
//diag_log ("SERVER: Routine Player Check: " + str(_x));
|
|
_handle = _x spawn server_updatePlayer;
|
|
waitUntil{scriptDone _handle};
|
|
};
|
|
} forEach _unitArray; |