mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 09:41:50 +03:00
1.7.4 CE sync
This commit is contained in:
@@ -3,12 +3,6 @@ private["_unit","_selection","_killer"];
|
||||
_unit = _this select 0;
|
||||
_killer = _this select 1;
|
||||
|
||||
// Prevent spazzing out vehicles from spamming server/MySQL
|
||||
_waskilled = _unit getVariable ['waskilled', 0];
|
||||
if (_waskilled) exitWith{};
|
||||
|
||||
_unit setVariable ['waskilled', 1, true];
|
||||
|
||||
_hitPoints = _unit call vehicle_getHitpoints;
|
||||
{
|
||||
_selection = getText (configFile >> "CfgVehicles" >> (typeof _unit) >> "HitPoints" >> _x >> "name");
|
||||
|
||||
Reference in New Issue
Block a user