Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player addAction["Delete all in Range", {
- _l = position player nearObjects 500;
- _cl = count _l;
- _sl = 0;
- for "_sl"
- from 0 to _cl do {
- _tl = _l select _sl;
- if (getPlayerUID _tl == "") then {
- if (_cl == _sl + 1) then {
- _tl = "Done";
- };
- hint format[" \n - Delete - List - \n \n ----------------------------------------------- \n Units in Range: \n %1 \n ----------------------------------------------- \n Current Selected: \n %2 \n %3 \n ----------------------------------------------- \n DELETED ", _cl, _sl + 1, _tl];
- deleteVehicle _tl;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement