add logging method for lock/unlock

This commit is contained in:
[VB]AWOL
2014-05-07 10:06:12 -05:00
parent e1577bc4f3
commit 3d97f6e17d
4 changed files with 23 additions and 5 deletions

View File

@@ -43,9 +43,8 @@ _pos = _obj getVariable["OEMPos",(getposATL _obj)];
if(!isNull _obj) then {
//force vault save just before locking
PVDZE_veh_Update = [_obj,"gear"];
publicVariableServer "PVDZE_veh_Update";
PVDZE_log_lockUnlock = [player, _obj,true];
publicVariableServer "PVDZE_log_lockUnlock";
//place vault
_holder = createVehicle [_lockedClass,_pos,[], 0, "CAN_COLLIDE"];