Guten Tag, ich habe die ACP C2 als Taser eingefügt aber sie ist Trotzdem Tödlich, woran kann es liegen?
Code
//Handle the tazer first (Top-Priority).
if (!isNull _source) then {
if (_source != _unit) then {
if (_unit getVariable["Revive",false]) exitWith {};
_curWep = currentWeapon _source;
if (_projectile in ["B_45ACP_Ball_Green","B_556x45_dual"] && _curWep in ["hgun_Pistol_heavy_01_F","arifle_SDAR_F"]) then {
if (side _source isEqualTo west && playerSide isEqualTo civilian) then {
private["_distance"];
_distance = if (_projectile == "B_556x45_dual") then {100} else {35};
_damage = false;
if (_unit distance _source < _distance) then {
if (!life_istazed && !life_isknocked && !(_unit getVariable ["restrained",false])) then {
if (vehicle player != player) then {
if (typeOf (vehicle player) == "B_Quadbike_01_F") then {
player action ["Eject",vehicle player];
[_unit,_source] spawn life_fnc_tazed;
};
} else {
[_unit,_source] spawn life_fnc_tazed;
};
};
};
};
//Temp fix for super tasers on cops.
if (side _source isEqualTo west && (playerSide isEqualTo west || playerSide isEqualTo independent)) then {
_damage = false;
};
};
};
};
Alles anzeigen