mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-24 09:00:50 +03:00
Rudimentary auth for DeleteObj
limits distance to object, as well as validating random auth key. added server_deleteObjDirect which is only for direct execution on the server, whereas server_deleteObj should be used for PVEH execution only
This commit is contained in:
@@ -154,7 +154,7 @@ if (_proceed && _success) then {
|
||||
deleteVehicle _obj;
|
||||
|
||||
if(!_isWreck && !_isWreckBuilding) then {
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,player];
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,player,_obj,DZE_AuthKey];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user