mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update server_updateObject.sqf
This commit is contained in:
@@ -62,14 +62,12 @@ call {
|
|||||||
[_object,_objectID,_objectUID,_forced,_totalDmg] call server_obj_dam;
|
[_object,_objectID,_objectUID,_forced,_totalDmg] call server_obj_dam;
|
||||||
};
|
};
|
||||||
if (_type == "killed") exitwith {
|
if (_type == "killed") exitwith {
|
||||||
private ["_playerUID", "_clientKey"];
|
|
||||||
|
|
||||||
if (count _this != 6) exitWith {
|
if (count _this != 6) exitWith {
|
||||||
diag_log "Server_UpdateObject error: wrong parameter format";
|
diag_log "Server_UpdateObject error: wrong parameter format";
|
||||||
};
|
};
|
||||||
|
|
||||||
_playerUID = _this select 4;
|
local _playerUID = _this select 4;
|
||||||
_clientKey = _this select 5;
|
local _clientKey = _this select 5;
|
||||||
[_object,_objectID,_objectUID,_playerUID,_clientKey,_class] call server_obj_killed;
|
[_object,_objectID,_objectUID,_playerUID,_clientKey,_class] call server_obj_killed;
|
||||||
};
|
};
|
||||||
if (_type == "coins") exitwith {
|
if (_type == "coins") exitwith {
|
||||||
|
|||||||
Reference in New Issue
Block a user