obj GetObject(int id)
{
try
{
for (int i = 0; i <= Systems.Objects.Count - 1; i++)
{
if (Systems.Objects[i] != null && Systems.Objects[i].UniqueID == id)
return Systems.Objects[i];
}
}
catch (Exception ex)
{
Systems.Debugger.Write(ex);
}
return null;
}