problem fixed A very nice script
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 ?
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!
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.
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?
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.
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…
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
where do I paste this? in legimitations?
client side esx_personmeny
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
have a nice burger
@FiskN2
The menu skin is not working for me, any idea why is that?
Kannst du mir helfen?
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?
RegisterNetEvent(‘esx_animations:openMenu’)
AddEventHandler(‘esx_animations:openMenu’, function()
ESX.UI.Menu.CloseAll()
OpenAnimationsMenu()
end)
Or you maybe mean
{label = ‘Animationer’, value = ‘animations’},
if data.current.value == ‘animations’ then
TriggerEvent(‘esx_animations:openMenu’)
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?
i have this error cant some one help?
[ERROR] [MySQL] [jsfour-legitimation] An error happens on MySQL for query “[object Object]”: ER_BAD_FIELD_ERROR: Unknown column ‘lastdigits’ in ‘field list’
Error: (node:5960) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
at process. (internal/process/promises.js:27:25)
at
at Query.db.query [as _callback] (mysql-async.js:4973:13)
at Query.Sequence.end (mysql-async.js:280:24)
at Query.ErrorPacket (mysql-async.js:2122:8)
at Protocol._parsePacket (mysql-async.js:5941:23)
at Parser.write (mysql-async.js:6198:12)
at Protocol.write (mysql-async.js:5701:16)
at Socket. (mysql-async.js:693:28)
at emitOne (events.js:116:13)
Error: (node:5960) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Error: (node:5960) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: (node:5960) UnhandledPromiseRejectionWarning: Error: ER_BAD_FIELD_ERROR: Unknown column ‘lastdigits’ in ‘field list’
at Query.Sequence._packetToError (mysql-async.js:244:14)
at Query.ErrorPacket (mysql-async.js:2109:18)
at Protocol._parsePacket (mysql-async.js:5941:23)
at Parser.write (mysql-async.js:6198:12)
at Protocol.write (mysql-async.js:5701:16)
at Socket. (mysql-async.js:693:28)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
--------------------
at Pool.query (mysql-async.js:4728:23)
at Promise (mysql-async.js:4970:12)
at new Promise ()
at execute (mysql-async.js:4967:26)
at Object.global.exports [as callback] (mysql-async.js:4993:5)
at citizen:/scripting/v8/main.js:87:41
Error: (node:5960) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
{x = -0.02, y = 0.0, z = 0.0, h = 0.0, r = 1.0},
hitch warning: frame time of 233 milliseconds
[ERROR] [MySQL] [jsfour-legitimation] An error happens on MySQL for query “[object Object]”: ER_BAD_FIELD_ERROR: Unknown column ‘lastdigits’ in ‘field list’
You missing add column in you database:
characters table