Files
DayZ-Epoch/SQF/dayz_code/compile/object_delLocal.sqf

9 lines
192 B
Plaintext

private["_type","_tent","_pos"];
_type = _this select 0;
_pos = _this select 1;
_tent = nearestObject [_type,_pos];
if (!isNull _tent) then {
if (local _tent) then {deleteVehicle _tent};
};