Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_terrainSort.sqf (TO BE CHANGED)
- Author: BoGuu
- Description:
- Gah.
- */
- if !(params[["_dictionary",[],[[],0,""]]]) exitWith {};
- scopeName "main";
- {
- if (worldName == _x select 0) then {
- (_x select 1) breakOut "main";
- };
- } count _dictionary;
- switch (typeName (_dictionary select 0 select 1)) do {
- case "ARRAY": {[]};
- case "STRING": {""};
- case "SCALAR": {-1};
- };
Add Comment
Please, Sign In to add comment