mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Update compiles - 2 more files to do
fn_selfActions.sqf player_updateGui.sqf
This commit is contained in:
16
SQF/dayz_code/compile/player_forceSave.sqf
Normal file
16
SQF/dayz_code/compile/player_forceSave.sqf
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
|
||||
Opens player inventory to save
|
||||
|
||||
*/
|
||||
|
||||
_magazineArray = [] call player_countMagazines;
|
||||
|
||||
if ((count _magazineArray) > 0) then {
|
||||
PVDZ_plr_Save = [player,[_magazineArray,dayz_onBack]];
|
||||
publicVariableServer "PVDZ_plr_Save";
|
||||
};
|
||||
|
||||
diag_log (_magazineArray);
|
||||
|
||||
dayz_lastSave = diag_tickTime;
|
||||
Reference in New Issue
Block a user