Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- crashing loot fix by Halv
- Copyright (C) 2015 Halvhjearne
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- Contact : [email protected]
- */
- while{alive player}do{
- _badloot = player nearObjects ["WH_Loot",50];
- if(count _badloot > 0)then{
- diag_log str(_badloot);
- {
- deleteVehicle _x;
- }forEach _badloot;
- };
- sleep 2;
- };
- waitUntil{alive player};
- execVM __FILE__;
Advertisement
Add Comment
Please, Sign In to add comment