mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
@@ -1 +1,11 @@
|
||||
[nil,nil,nil,_this select 0] call compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\remove.sqf"
|
||||
private ["_obj","_objectID","_objectUID"];
|
||||
|
||||
_obj = _this select 0;
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
|
||||
if (isServer) then {
|
||||
[_objectID,_objectUID,"__SERVER__"] call server_deleteObj;
|
||||
} else {
|
||||
[nil,nil,nil,_obj] execVM "\z\addons\dayz_code\actions\remove.sqf";
|
||||
};
|
||||
Reference in New Issue
Block a user