Beispiel #1
0
 /// <summary>
 /// This function returns an element from the specified ID. If more than one element with the same ID exists, only the first one in the order it appears in the XML tree will be returned by this function.
 /// </summary>
 public static Element GetByID(string id, int index = 0)
 {
     return(ElementManager.Instance.GetElement(MtaShared.GetElementByID(id, index)));
 }