Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- handleDisconnect = {
- _unit = _this select 0;
- _containers = nearestObjects[_unit,["WeaponHolderSimulated"],8];
- {
- deleteVehicle _x;
- } foreach _containers;
- deleteVehicle _unit;
- };
- addMissionEventHandler ["HandleDisconnect",{
- _this call handleDisconnect;
- false
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement