wheel_dmg.sqf 145 B

123456789101112
  1. params ["_this"];
  2. _this addEventHandler ["HandleDamage",
  3. {
  4. if ((_this select 1) find "wheel" != -1) then
  5. {
  6. 0;
  7. }else
  8. {
  9. (_this select 2);
  10. };
  11. }];