mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 09:41:50 +03:00
1.0.2.3 RC2
This commit is contained in:
@@ -95,7 +95,7 @@ if (_proceed) then {
|
|||||||
// Set location
|
// Set location
|
||||||
_object setPos _location;
|
_object setPos _location;
|
||||||
|
|
||||||
dayzSwapObj = [_objectCharacterID,_object,[_dir,_location],_classname,_objectID,_objectUID,_obj];
|
dayzSwapObj = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID];
|
||||||
publicVariableServer "dayzSwapObj";
|
publicVariableServer "dayzSwapObj";
|
||||||
|
|
||||||
cutText [format["You have repaired %1.",_text], "PLAIN DOWN", 5];
|
cutText [format["You have repaired %1.",_text], "PLAIN DOWN", 5];
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ if ((count _upgrade) > 0) then {
|
|||||||
cutText [format["You have upgraded %1.",_text], "PLAIN DOWN", 5];
|
cutText [format["You have upgraded %1.",_text], "PLAIN DOWN", 5];
|
||||||
};
|
};
|
||||||
|
|
||||||
dayzSwapObj = [_objectCharacterID,_object,[_dir,_location],_classname,_objectID,_objectUID,_obj];
|
dayzSwapObj = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID];
|
||||||
publicVariableServer "dayzSwapObj";
|
publicVariableServer "dayzSwapObj";
|
||||||
|
|
||||||
player reveal _object;
|
player reveal _object;
|
||||||
|
|||||||
@@ -11,12 +11,6 @@ _obj removeAllMPEventHandlers "MPKilled";
|
|||||||
// Remove old object
|
// Remove old object
|
||||||
deleteVehicle _obj;
|
deleteVehicle _obj;
|
||||||
|
|
||||||
// Publish variables
|
|
||||||
_object setVariable ["CharacterID",_charID,true];
|
|
||||||
|
|
||||||
//_object setVariable ["ObjectUID",_objectUID,true];
|
|
||||||
_object setVariable ["OEMPos",_worldspace,true];
|
|
||||||
|
|
||||||
_objectID = _this select 5;
|
_objectID = _this select 5;
|
||||||
_objectUID = _this select 6;
|
_objectUID = _this select 6;
|
||||||
|
|
||||||
@@ -27,6 +21,12 @@ if(_objectID == "0" && _objectUID == "0") exitWith {diag_log ("Object not valid:
|
|||||||
_allowed = [_object, "Server"] call check_publishobject;
|
_allowed = [_object, "Server"] call check_publishobject;
|
||||||
if (!_allowed) exitWith { deleteVehicle _object; };
|
if (!_allowed) exitWith { deleteVehicle _object; };
|
||||||
|
|
||||||
|
// Publish variables
|
||||||
|
_object setVariable ["CharacterID",_charID,true];
|
||||||
|
|
||||||
|
//_object setVariable ["ObjectUID",_objectUID,true];
|
||||||
|
_object setVariable ["OEMPos",(_worldspace select 1),true];
|
||||||
|
|
||||||
//diag_log ("PUBLISH: Attempt " + str(_object));
|
//diag_log ("PUBLISH: Attempt " + str(_object));
|
||||||
|
|
||||||
//get UID
|
//get UID
|
||||||
|
|||||||
Reference in New Issue
Block a user