mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Update server_onPlayerDisconnect.sqf (#2039)
* Update server_onPlayerDisconnect.sqf fix dupe and save inventory bag, if object position in sea * Update server_onPlayerDisconnect.sqf
This commit is contained in:
@@ -85,7 +85,7 @@ if (_characterID != "?") then {
|
|||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
//Done in server_playerSync above if player is alive
|
//Done in server_playerSync above if player is alive
|
||||||
{[_x,"gear"] call server_updateObject} count (nearestObjects [_playerPos,DayZ_GearedObjects,10]);
|
{[_x,"gear"] call server_updateObject} count (nearestObjects [[_playerObj] call FNC_GetPos,DayZ_GearedObjects,10]);
|
||||||
};
|
};
|
||||||
|
|
||||||
[_playerUID,_characterID,3,_playerName,(_playerPos call fa_coor2str)] call dayz_recordLogin;
|
[_playerUID,_characterID,3,_playerName,(_playerPos call fa_coor2str)] call dayz_recordLogin;
|
||||||
@@ -95,4 +95,4 @@ missionNamespace setVariable [_playerUID,nil];
|
|||||||
|
|
||||||
if (alive _playerObj) then {
|
if (alive _playerObj) then {
|
||||||
_playerObj call sched_co_deleteVehicle;
|
_playerObj call sched_co_deleteVehicle;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user