1400 {
1401 int idx;
1404
1405 ConfigGetTextArray("ChangeInventorySlot",inventory_slots);
1406 if (inventory_slots.Count() < 1)
1407 {
1408 inventory_slots.Insert(ConfigGetString("ChangeInventorySlot"));
1409 attach_types.Insert(ConfigGetString("ChangeIntoOnAttach"));
1410 }
1411 else
1412 {
1413 ConfigGetTextArray("ChangeIntoOnAttach",attach_types);
1414 }
1415
1416 idx = inventory_slots.Find(slot);
1417 if (idx < 0)
1418 return "";
1419
1420 return attach_types.Get(idx);
1421 }
array< string > TStringArray