mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
delete key instead of setting to blank arrays
This commit is contained in:
parent
bff45ee5a4
commit
8d0c838c0a
@ -20,4 +20,5 @@
|
|||||||
[Changed] Driver or passengers of a driverless can now control vehicle locks. Also only the owner can control locks from outside of a occupied vehicle.
|
[Changed] Driver or passengers of a driverless can now control vehicle locks. Also only the owner can control locks from outside of a occupied vehicle.
|
||||||
[Changed] Commented out Halloween masks from loot tables.
|
[Changed] Commented out Halloween masks from loot tables.
|
||||||
[Updated] New Battleye remoteExec.txt for added remoteExec calls.
|
[Updated] New Battleye remoteExec.txt for added remoteExec calls.
|
||||||
|
[Fixed] When killed instead of saving blank array delete (object,trader,vehicle) data from database.
|
||||||
[Info] Removed old .bikey and added new one for 0370.
|
[Info] Removed old .bikey and added new one for 0370.
|
||||||
|
Binary file not shown.
@ -11,6 +11,6 @@ if (!isNull (_this select 0)) then {
|
|||||||
[(_this select 1), "UAV"] call EPOCH_server_triggerEvent;
|
[(_this select 1), "UAV"] call EPOCH_server_triggerEvent;
|
||||||
|
|
||||||
_objHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _slot];
|
_objHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _slot];
|
||||||
["AI", _objHiveKey, []] call EPOCH_fnc_server_hiveSET;
|
["AI", _objHiveKey call EPOCH_fnc_server_hiveDEL;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,8 @@ if (!isNull _building) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
||||||
["Building", _vehHiveKey, []] call EPOCH_fnc_server_hiveSET;
|
["Building", _vehHiveKey] call EPOCH_fnc_server_hiveDEL;
|
||||||
|
|
||||||
EPOCH_BuildingSlots set [_vehSlot, 0];
|
EPOCH_BuildingSlots set [_vehSlot, 0];
|
||||||
|
|
||||||
EPOCH_BuildingSlotCount = { _x == 0 } count EPOCH_BuildingSlots;
|
EPOCH_BuildingSlotCount = { _x == 0 } count EPOCH_BuildingSlots;
|
||||||
|
@ -7,7 +7,8 @@ if (!isNull _storage) then {
|
|||||||
_vehSlot = _storage getVariable["STORAGE_SLOT", "ABORT"];
|
_vehSlot = _storage getVariable["STORAGE_SLOT", "ABORT"];
|
||||||
if (_vehSlot != "ABORT") then {
|
if (_vehSlot != "ABORT") then {
|
||||||
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
||||||
["Storage", _vehHiveKey, []] call EPOCH_fnc_server_hiveSET;
|
["Storage", _vehHiveKey] call EPOCH_fnc_server_hiveDEL;
|
||||||
|
|
||||||
EPOCH_StorageSlots pushBack _vehSlot;
|
EPOCH_StorageSlots pushBack _vehSlot;
|
||||||
|
|
||||||
EPOCH_StorageSlotsCount = count EPOCH_StorageSlots;
|
EPOCH_StorageSlotsCount = count EPOCH_StorageSlots;
|
||||||
|
@ -7,7 +7,7 @@ if (!isNull _vehicle) then {
|
|||||||
_vehSlot = _vehicle getVariable ["VEHICLE_SLOT", "ABORT"];
|
_vehSlot = _vehicle getVariable ["VEHICLE_SLOT", "ABORT"];
|
||||||
if (_vehSlot != "ABORT") then {
|
if (_vehSlot != "ABORT") then {
|
||||||
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
||||||
["Vehicle", _vehHiveKey, []] call EPOCH_fnc_server_hiveSET;
|
["Vehicle", _vehHiveKey] call EPOCH_fnc_server_hiveDEL;
|
||||||
EPOCH_VehicleSlots pushBack _vehSlot;
|
EPOCH_VehicleSlots pushBack _vehSlot;
|
||||||
EPOCH_VehicleSlotCount = count EPOCH_VehicleSlots;
|
EPOCH_VehicleSlotCount = count EPOCH_VehicleSlots;
|
||||||
publicVariable "EPOCH_VehicleSlotCount";
|
publicVariable "EPOCH_VehicleSlotCount";
|
||||||
|
Loading…
Reference in New Issue
Block a user