mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
9 lines
254 B
Plaintext
9 lines
254 B
Plaintext
private["_unit","_hp","_selection","_strH","_dam"];
|
|
_unit = _this select 0;
|
|
_hp = _this select 1;
|
|
|
|
_selection = getText (configFile >> "CfgVehicles" >> (typeOf _unit) >> "HitPoints" >> _hp >> "name");
|
|
_dam = _unit getHit _selection;
|
|
|
|
[_dam, _selection];
|