mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
14
SQF/dayz_server/compile/server_routinePlayerCheck.sqf
Normal file
14
SQF/dayz_server/compile/server_routinePlayerCheck.sqf
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user