1423 {
1424 int idx;
1427
1428 ConfigGetTextArray("ChangeInventorySlot",inventory_slots);
1429 if (inventory_slots.Count() < 1)
1430 {
1431 inventory_slots.Insert(ConfigGetString("ChangeInventorySlot"));
1432 attach_types.Insert(ConfigGetString("ChangeIntoOnAttach"));
1433 }
1434 else
1435 {
1436 ConfigGetTextArray("ChangeIntoOnAttach",attach_types);
1437 }
1438
1439 idx = inventory_slots.Find(slot);
1440 if (idx < 0)
1441 return "";
1442
1443 return attach_types.Get(idx);
1444 }
array< string > TStringArray