Всем привет, при покупке бизнеса (любого) столкнулся с такой ошибкой ------
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at T System.Collections.Generic.List<T>.get_Item(int index)
at void Golemo.Core.BusinessManager.buyBusinessCommand(Player player) in C:/Users/Morgan/Desktop/shadow/dotnet/resources/GameMode/Golemo/Core/Businesses.cs:line 3708
--- End of inner exception stack trace ---
at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor, bool wrapExceptions)
at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
at void GTANetworkInternals.RemoteEventParser.Parse(Player sender, ulong eventNameHash, params object[] args)
at void GTANetworkInternals.RemoteEventHandler.Parse(Player sender, ulong eventNameHash, params object[] arguments)
Может кто знает как исправить?
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at T System.Collections.Generic.List<T>.get_Item(int index)
at void Golemo.Core.BusinessManager.buyBusinessCommand(Player player) in C:/Users/Morgan/Desktop/shadow/dotnet/resources/GameMode/Golemo/Core/Businesses.cs:line 3708
--- End of inner exception stack trace ---
at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor, bool wrapExceptions)
at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
at void GTANetworkInternals.RemoteEventParser.Parse(Player sender, ulong eventNameHash, params object[] args)
at void GTANetworkInternals.RemoteEventHandler.Parse(Player sender, ulong eventNameHash, params object[] arguments)
Может кто знает как исправить?