Example #1
0
        /// <summary>
        /// Get the current clothes texture of a slot
        /// </summary>
        public ClothesTexture GetClothesTexture(ClothesSlot slot)
        {
            Tuple <string, string> result = MtaShared.GetPedClothes(element, (int)slot);

            return((ClothesTexture)Enum.Parse(typeof(ClothesTexture), result.Item1));
        }
Example #2
0
        /// <summary>
        /// Get the current clothes model of a slot
        /// </summary>
        public ClothesModel GetClothesModel(ClothesSlot slot)
        {
            Tuple <string, string> result = MtaShared.GetPedClothes(element, (int)slot);

            return((ClothesModel)Enum.Parse(typeof(ClothesModel), result.Item2));
        }