mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
HitPoint Fix test
This commit is contained in:
parent
c5abeed9f7
commit
f9de95ffc7
@ -25,10 +25,11 @@ if (_veh iskindof "ebike_epoch") then {
|
||||
};
|
||||
_wheelcounter = 0;
|
||||
{
|
||||
_HitPointName = _x;
|
||||
_HitPointName = tolower _x;
|
||||
_Hit = (getAllHitPointsDamage _veh) select 2 select _foreachindex;
|
||||
{
|
||||
_x params ["_searchedhit","_limit1","_limit2"];
|
||||
_searchedhit = tolower _searchedhit;
|
||||
if (_searchedhit isequalto _HitPointName) then {
|
||||
_wheel = ["wheel",tolower _searchedhit] call bis_fnc_instring;
|
||||
if (_wheel) then {
|
||||
|
Loading…
x
Reference in New Issue
Block a user