Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.36 KB | None | 0 0
  1.  
  2. //ANTI VDM
  3. private["_vehicle","_unit","_damage","_soruce"];
  4. _vehicle = vehicle _source;
  5. _unit = this select 0;
  6. _damage = _this select 2;
  7. _source = _this select 3;
  8. if((vehicle _source isKindOf "LandVehicle") && ((driver _vehicle) == _source)) then {
  9.      if(_source != _unit AND {alive _unit} AND {isPlayer _source}) then {
  10.      _damage = 0;
  11.     };
  12. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement