223 {
224 array<Selection> selections = new array<Selection>;
226
227 for (int i = 0; i < selections.Count(); ++i)
228 {
229 string selection_name = selections.Get(i).GetName();
232 if (selection_name ==
name)
233 {
234 return selections.Get(i);
235 }
236 }
237
238 return null;
239 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native bool GetSelections(notnull out array< Selection > selections)
proto int ToLower()
Changes string to lowercase. Returns length.