mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
localize cursorTarget check
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;};
|
if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;};
|
||||||
dayz_actionInProgress = true;
|
dayz_actionInProgress = true;
|
||||||
|
|
||||||
if (isNull cursorTarget) exitWith {systemChat "cursorTarget isNull!";};
|
if (isNull cursorTarget) exitWith {systemChat localize "str_cursorTargetNotFound";};
|
||||||
|
|
||||||
private ["_backupCode","_badCode","_cursorTarget","_dialog","_dir","_doorFriends","_isDoor","_isLockBox","_isSafe","_isStorage","_location","_lockCode","_object","_ownerID","_typeOf","_vector"];
|
private ["_backupCode","_badCode","_cursorTarget","_dialog","_dir","_doorFriends","_isDoor","_isLockBox","_isSafe","_isStorage","_location","_lockCode","_object","_ownerID","_typeOf","_vector"];
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ server_changeCode = {
|
|||||||
_objectID = _object getVariable ["ObjectID","0"];
|
_objectID = _object getVariable ["ObjectID","0"];
|
||||||
_objectUID = _object getVariable ["ObjectUID","0"];
|
_objectUID = _object getVariable ["ObjectUID","0"];
|
||||||
_ownerID = _object getVariable ["ownerPUID","0"];
|
_ownerID = _object getVariable ["ownerPUID","0"];
|
||||||
//_name = if (alive _player) then {name _player;} else {"unknown player";};
|
|
||||||
_name = ["unknown player",name _player] select (alive _player);
|
_name = ["unknown player",name _player] select (alive _player);
|
||||||
_clientID = owner _player;
|
_clientID = owner _player;
|
||||||
_playerUID = getPlayerUID _player;
|
_playerUID = getPlayerUID _player;
|
||||||
|
|||||||
Reference in New Issue
Block a user