/// <summary> /// This function returns the current upgrade id on the vehicle's 'upgrade slot' /// </summary> public Upgrade GetUpgradeOnSlot(UpgradeSlot slot) { return((Upgrade)MtaShared.GetVehicleUpgradeOnSlot(element, (int)slot)); }