1351 {
1352 int idx;
1355
1356 ConfigGetTextArray("ChangeInventorySlot",inventory_slots);
1357 if (inventory_slots.Count() < 1)
1358 {
1359 inventory_slots.Insert(ConfigGetString("ChangeInventorySlot"));
1360 attach_types.Insert(ConfigGetString("ChangeIntoOnAttach"));
1361 }
1362 else
1363 {
1364 ConfigGetTextArray("ChangeIntoOnAttach",attach_types);
1365 }
1366
1367 idx = inventory_slots.Find(slot);
1368 if (idx < 0)
1369 return "";
1370
1371 return attach_types.Get(idx);
1372 }
class array< Class T > TStringArray