vMenu

Golden had already made a PR

1 Like

Yeah, i already did :sweat_smile:
As soon as I sent that reply, I was like, well fck no one elae gonna do it so I will :rofl:

2 Likes

Is there a way to disable vMenu when players are racing, (have race script installed) i have compiled my own vMenu but unsure how to implement for example. (please note i am no coding expert with certain scripting etc)

Citizen.CreateThread(function()
	while true do
		if exports.ArenaAPI:IsPlayerInAnyArena() then
			ExecuteCommand("vmenu_use_permissions false")
		else
			ExecuteCommand("vmenu_use_permissions true")
		end

		Citizen.Wait(1000)
	end
end)

Maybe add setr or whatever the set command is for that permission (ExecuteCommand("set vmenu_use_permissions false")), and then after that command gets executed restart vMenu with ExecuteCommand("ensure vMenu");

Update: and dont use a while true loop.
Set up an event handler for the ArenaAPI that sends an event once when the player enters and exits the area.

1 Like

Hey, how can i add tattoos to the menu from newer game builds?

For 2. I have made a PR on the vMenu GitHub that will add that functionality. I’m unsure what the process is for merging it, but I imagine XdGoldenTiger has to do internal testing and QAQC. I don’t know how long that process will take, but hopefully you’ll see this feature soon!

Merged

1 Like

Wanted to suggest something. For Healing. A cooldown between the ability to heal for a player. If thats feasible with optimization I don’t know. To prevent heal spamming during fights etc.

has client side time and weather changes been removed?
If I disable time/weather sync from vMenu globally it just removes the world options from the menu for everyone, worked fine on older versions though :confused:

vMenu has never had client sided weather/time?
It has always been server sided to my knowledge.

I can add a config option for that :wink:

1 Like

If the logic works the same, perhaps for Armour as well? That way both are protected with option.
Would be amazing! Keep up the amazing work!

1 Like

it was definitely possible, all had to do was change
setr vmenu_enable_weather_sync false
setr vmenu_enable_time_sync false
and change perms for menu items, add_ace builtin.everyone
then everyone could just change as they wanted without effecting others.

just on newer versions disabling the time/weather sync removes the options for time and weather from the menu for some reason

Ah, I understand what you mean now. Sorry.
I thought you meant client sided as in fully client sided lmao.

I will have a look and see what needs fixing.
Thanks!

1 Like

Yeah, I can definitely make that happen :wink:

1 Like

For 2.

You Mean Cats Like I have done in my custom menu?

Update to this…
My PR for the new dlc plate style indexes has been merged.
I will get started on adding these into vMenu once the Nuget package gets released :wink:

New License Plate Styles have been added/merged into vMenu.
I will be working on a few other things before creating a minor release :wink:

1 Like

So when I Spawn a save vehicle. When I get out of the car I get locked out. Am I missing something?

That shouldnt happen. Are you running QB or ESX?
They have resources for car locking that is based on if you own the car in the framework database.

Yes vMenu works on framework based servers (and standalone ofc), but it may be a bit buggy with certain framework scripts.