Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ANTI VDM
- private["_vehicle","_unit","_damage","_soruce"];
- _vehicle = vehicle _source;
- _unit = this select 0;
- _damage = _this select 2;
- _source = _this select 3;
- if((vehicle _source isKindOf "LandVehicle") && ((driver _vehicle) == _source)) then {
- if(_source != _unit AND {alive _unit} AND {isPlayer _source}) then {
- _damage = 0;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement