mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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:
@@ -33,7 +33,7 @@ if(isNull(_object)) then {
|
||||
if(_objectID == "0" && _objectUID == "0") then {
|
||||
_proceed = false;
|
||||
} else {
|
||||
[_objectID,_objectUID,_activatingplayer] call server_deleteObj;
|
||||
[_objectID,_objectUID,_activatingplayer,_obj] call server_deleteObjDirect;
|
||||
};
|
||||
|
||||
_allowed = [_object, "Server"] call check_publishobject;
|
||||
|
||||
Reference in New Issue
Block a user