vMenu

By default the control is M on keyboard, or holding the back button (change camera) on controller for ~400ms.
Not F1, so yeah it’s completely normal that F1 wouldn’t have worked on my server. However, F2 should have.

Looking at the log shows this error:

[    186188] Error invoking callback for event vMenu:ConfigureClient: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Newtonsoft.Json.Serialization.DefaultSerializationBinder' threw an exception. ---> System.MethodAccessException: Error verifying Newtonsoft.Json.Serialization.DefaultSerializationBinder:.ctor (): Method System.Runtime.Serialization.SerializationBinder:.ctor () is not accessible at 0x0001

[    186203]   at Newtonsoft.Json.Serialization.DefaultSerializationBinder..cctor () [0x00000] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186219]    --- End of inner exception stack trace ---

[    186235]   at Newtonsoft.Json.JsonSerializer.Create () [0x00000] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186250]   at Newtonsoft.Json.JsonSerializer.Create (Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186266]   at Newtonsoft.Json.JsonSerializer.CreateDefault () [0x00011] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186282]   at Newtonsoft.Json.JsonSerializer.CreateDefault (Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186297]   at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186313]   at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value) [0x00000] in <07e3893119a945b29a35e81930b1c8ad>:0 

[    186328]   at vMenuClient.MainMenu.SetPermissions (System.Object dict) [0x001bf] in C:\projects\vmenu\vMenu\MainMenu.cs:281 

[    186344]   at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Type,object)

[    186360]   at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Type,object)

[    186375]   at vMenuClient.EventManager.ConfigureClient (System.Object addonVehicles, System.Object addonPeds, System.Object addonWeapons, System.Object perms) [0x00000] in C:\projects\vmenu\vMenu\EventManager.cs:71 

[    186391]   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)

[    186407]   at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <a4e3abdd630b4c98a9d6f31a99197de6>:0 

[    186422]    --- End of inner exception stack trace ---

[    186438]   at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <a4e3abdd630b4c98a9d6f31a99197de6>:0 

[    186453]   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <a4e3abdd630b4c98a9d6f31a99197de6>:0 

[    186469]   at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <a4e3abdd630b4c98a9d6f31a99197de6>:0 

[    186485]   at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <a4e3abdd630b4c98a9d6f31a99197de6>:0 

[    186500]   at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <a4e3abdd630b4c98a9d6f31a99197de6>:0 

[    186516]   at CitizenFX.Core.EventHandlerEntry+<Invoke>d__5.MoveNext () [0x00064] in C:\gl\builds\edf06b9b\0\cfx\fivem\code\client\clrcore\EventHandlerDictionary.cs:85 

Looks like newtonsoft.json is broken. Try re-installing GTA V, that usually works. Alternatively, I’ve heard someone was able to fix this by downloading vMenu, taking the Newtonsoft.Json.dll from that download, and placing it inside your GTA V installation folder manually, however I’ve never actually had this issue myself, so I can’t really repro this to test it.

1 Like

There’s only like 1 or 2 submenus where it says that, all other (sub)menus have the player’s name, or the submenu title. So there’s literally no reason why you’d want to change this.

You can change the server info tab in the about menu using convars, however removing credits is against the license. Also note: no support for modifying source code.

Yeah noticed after asking, busy day.

Thank you very much, this file had to be replaced.

Kudos to you :mascot:

Hey there, first off: love the mod, making the change from lambda to a scripthook-free server so smooth!

Now its possible I over-read this somewhere in the documentation, if so I’m sorry ^^. Is there any way to disable the spawn of certain vehicles? Like the new War Arena ones for instance, I don’t want to disable the whole class and our blacklist script is slowing down the server quite a bit.

Hey, so unfortunately there is not a way to prevent the spawn of certain vehicles, but someone wrote a script, --> Model Blacklist that is very simple to use and allows you to blacklist certain vehicles and prevent from spawning. If you already have a blacklist script like this one, or theres simply too many vehicles for it to work, you can just redownload the script and rename it as many times as youd like, and continue blacklisting cars. Best of luck Old Friend!!

~ YaBoiDEX

I’m locked out on some of my addon vehicles. Help.

That’s not a vMenu issue, that’s your addon vehicles that are not correctly installed.

F1

5 char…

Hey Vespura, does vMenu have hazards or just left and right indicators(blinkers)

yo, ive done basically every step on that youtube video, but my problem is that im adding the permissions but they do not work, i can do everything the civs can and i want to have my staff perms, what am i doing wrong ?

Left, right and hazards. It’s in the vehicle options then under the lights list.

“>On that youtube video?”

What video? I’ve never released any official instructions video.

Would it be possible to make this into client side menu?

If you manage to completely recode this into C++ then sure. Though that’s very unlikely, and all server dependent code wouldn’t work.

Obviously server dependant code wouldnt work, but it has client side features too.
ye you are right, dumb question, this is already too complicated

that’s not really the biggest problem, just converting it from using CFX api set to scripthook and to c++ would be the hard part. at least for me, never done any C++.

I have, but it would be pain in the ass, or simply too much work for little gain

I need help with how to add admins and moderators. I am not sure how to get the steam ID, I have found steam id finders but they don’t show the right ID that looks like steam:110000…Anybody know how to find the proper steam ID?

https://forum.cfx.re/search?q=whatsmyid

It seems like even tho I remove perms for voice chat. It still interferes with other voice chats?

Is there a version of vMenu with no voicechat at all?