[Release] esx_personmeny

roleplay
civilian
actionmenu
#108

Anyone have a answer for the belt and cruisecontrol on the same buttton, I have read the ones before but I dont get them to work, what to do?

#109

Just edit the cruisecontrol script. Change the key/controller to another one.

http://docs.fivem.net/game-references/controls/

#110

problem fixed A very nice script :smiley:

#111

This swedish fivem discord i have seen mentioned in a bunch of threads, not been able to found it though, you dont have a link @PandaProo ?

#112

If you are from sweden otherwise you cant probably get help but then seartch for FiveM Sverige facebook and you will find the facebook and then a discord link!:grinning:

#113

Error running call reference function for resource jsfour-blindfold: citizen:/scripting/lua/scheduler.lua:351: server.lua:29: attempt to index a nil value
stack traceback:
server.lua:29: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
Error running system event handling function for resource es_extended: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
citizen:/scripting/lua/scheduler.lua:563: in field ‘?’
server/functions.lua:33: in field ‘TriggerServerCallback’
server/common.lua:63: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174

A little help, would be welcome. :stuck_out_tongue:

#114

Jag installerade alla required skripts. blindfold, toilet, legitimation, pnotify.
När jag andvänder menyn i ett fordon och man stänger av motorn så sätts den på igen automatiskt
och om jag sätter en kmh limit på 30 kmh tex, och sedan avaktiverar limiten medans man kör så stannar bilen direkt. Hur löser jag detta?

#115

Well, this menu is really bugged. I don’t recommend using it. Remake it so it fits your needs. For the engine part I’d recommend you to use the “vEngine ([Release] vEngine v1.2 | Simple engine toggle on button press (F6))” script.

#116

Hey! Could it be that this ressource is clientside? Because I can’t use the most options like ID Card etc. I only decided to use js_ldcard… If this is a Problem because I have everything else like it should and get no errors…

#117
ESX.UI.Menu.Open(
	'default', GetCurrentResourceName(), 'id_card_menu',
	{
    title    = _U('id_menu'),
    align    = 'center',
		elements = {
			{label = _U('check_id'), value = 'check'},
      {label = _U('show_id'), value = 'show'},
      {label = _U('check2_id'), value = 'check2'},
      {label = _U('show2_id'), value = 'show2'}
		}
	},
	function(data2, menu2)
		if data2.current.value == 'check' then
			TriggerServerEvent('jsfour-idcard:open', GetPlayerServerId(PlayerId()), GetPlayerServerId(PlayerId()))
		elseif data2.current.value == 'show' then
			local player, distance = ESX.Game.GetClosestPlayer()

			if distance ~= -1 and distance <= 3.0 then
				TriggerServerEvent('jsfour-idcard:open', GetPlayerServerId(PlayerId()), GetPlayerServerId(player))
				OpenTrashCan()
			else
				OpenAttansCan()
				ESX.ShowNotification(_U('nobody_near'))
      end
    elseif data2.current.value == 'check2' then
      TriggerServerEvent('jsfour-idcard:open', GetPlayerServerId(PlayerId()), GetPlayerServerId(PlayerId()), 'driver') 
    elseif data2.current.value == 'show2' then
      local player, distance = ESX.Game.GetClosestPlayer()

      if distance ~= -1 and distance <= 3.0 then
        TriggerServerEvent('jsfour-idcard:open', GetPlayerServerId(PlayerId()), GetPlayerServerId(player), 'driver')
      else
        ESX.ShowNotification('No players nearby')
      end        
		end
	end,
	function(data2, menu2)
		menu2.close()
		OpenCivilianActionsMenu()
	end
)

Look at this maybe you need to edit to use for yourself. I added driving license asswel

1 Like
#118

where do I paste this? in legimitations?

#119

client side esx_personmeny

#120

Hey! can I reupload your esx_personmeny for the people that doesn’t want to use the pee and poop extension, and does use the jsfour-idcard? I will credit you of course and your awesome work.
refuse it like, it is your property :slight_smile:

have a nice burger :hamburger:
:smiley:
@xBlueSI

#121

The menu skin is not working for me, any idea why is that?

#122

Kannst du mir helfen?

#123

Im using this script, i want to add option “Animations” and how make call to esx_animation. If client click “animations” I want to open OpenAnimationsMenu() from esx_animations. How can i do that?

#124

RegisterNetEvent(‘esx_animations:openMenu’)
AddEventHandler(‘esx_animations:openMenu’, function()
ESX.UI.Menu.CloseAll()
OpenAnimationsMenu()
end)

#125

Or you maybe mean
{label = ‘Animationer’, value = ‘animations’},

if data.current.value == ‘animations’ then
TriggerEvent(‘esx_animations:openMenu’)

#126

@KeN1 Its not working, i have try this one and nothing…

#127

Anyone having issue when you press V its opening the menu up? Along with its default key of F2?? Anyone know how to solve this?