==================[20-06-18 02:23:45]==================
System.InvalidCastException: Invalid cast from 'System.Single' to 'GTANetworkAPI.Vehicle'.
at object Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
=========================================================
==================[20-06-18 02:43:38]==================
System.NullReferenceException: Object reference not set to an instance of an object.
at void WiredPlayers.globals.Globals.ProcessMenuActionEvent(Client player, int itemId, string action) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 1243
=========================================================
==================[20-06-18 02:43:38]==================
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at void WiredPlayers.globals.Globals.ProcessMenuActionEvent(Client player, int itemId, string action) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 1243
--- End of inner exception stack trace ---
at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
=========================================================
Hi !
The latest error appear when i click on the consume button(whit the sandwitch) , i think it's the "Globals.GetItemModelFromId();" function
[GAMEMODE] WiredPlayers Roleplay Server
in Resources
Posted
Hi !
The latest error appear when i click on the consume button(whit the sandwitch) , i think it's the "Globals.GetItemModelFromId();" function