mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Remove global ObjectID and ObjectUID from server functions
All ObjectIDs and ObjectUIDs are only visible on the server now no longer on the client.
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
if (dayz_actionInProgress) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; };
|
||||
dayz_actionInProgress = true;
|
||||
|
||||
private ["_emptycan","_objectID","_objectUID","_obj","_fuelArray","_matchArray","_randomJerryCan","_fireIntensity","_finished"];
|
||||
private ["_emptycan","_obj","_fuelArray","_matchArray","_randomJerryCan","_fireIntensity","_finished"];
|
||||
|
||||
//Tent Object
|
||||
_obj = _this select 3;
|
||||
_objectID = _obj getVariable["ObjectID","0"];
|
||||
_objectUID = _obj getVariable["ObjectUID","0"];
|
||||
|
||||
//Active Arrays.
|
||||
_fuelArray = [];
|
||||
|
||||
@@ -15,8 +15,6 @@ dayz_actionInProgress = true;
|
||||
|
||||
local _obj = _this;
|
||||
local _objType = typeOf _obj;
|
||||
local _objectID = _obj getVariable["ObjectID","0"];
|
||||
local _objectUID = _obj getVariable["ObjectUID","0"];
|
||||
local _ownerID = _obj getVariable["ownerPUID","0"];
|
||||
|
||||
local _playerNear = {isPlayer _x} count (([_obj] call FNC_GetPos) nearEntities ["CAManBase", 12]) > 1;
|
||||
|
||||
Reference in New Issue
Block a user