Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- call getFuelpumps;
- getFuelpumps =
- {
- _pos = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition");
- _Station = nearestobjects [_pos,["Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"], 25000];
- _br = toString [13, 10];
- _tab = toString [9];
- _TexteSortie = "private _stationPositions = [" + _br;
- {
- _Array = getpos _x;
- _TexteSortie = _TexteSortie + _tab + (str _Array);
- _TexteSortie = if (_forEachIndex < ((count _Station) - 1)) then {_TexteSortie + ", " + _br} else {_TexteSortie + _br};
- } forEach _Station;
- _TexteSortie = _TexteSortie + "];";
- hint "Completed";
- copyToClipboard _TexteSortie;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement