I have somme errors: someone can help me

help

#1

HI
im on linux ,I have installed the n3mtv package correctly but I have a problem of citizen registration,and I do not see my money and I have the following errors:

Error running system event handling function for resource essentialmode: 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:378: in local 'cb'

server/player/login.lua:108: in upvalue 'handler'

citizen:/scripting/lua/scheduler.lua:163: in function

stack traceback:

[C]: in function 'error'

citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'

citizen:/scripting/lua/scheduler.lua:162: in function

Error running call reference function for resource metiers: police/police_server.lua:109: attempt to index a nil value (local 'user')

stack traceback:

police/police_server.lua:109: in local 'ref'

citizen:/scripting/lua/scheduler.lua:317: in function

[C]: in function 'coroutine.resume'

citizen:/scripting/lua/scheduler.lua:34: in field 'CreateThreadNow'

citizen:/scripting/lua/scheduler.lua:162: in function

Error running system event handling function for resource essentialmode: 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:378: in local 'cb'

server/player/login.lua:108: in upvalue 'handler'

citizen:/scripting/lua/scheduler.lua:163: in function

stack traceback:

[C]: in function 'error'

citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'

citizen:/scripting/lua/scheduler.lua:162: in function

#2

Did you try translating the script? apparently you broke some line of code. Can you send me part of the code for line 109 for police_server.lua


#3

This… This is your problem. If it’s a resource you found on here, post in their thread and ask them for help. If this is your script (you made it from scratch) then post the code for further help.


#4

TriggerEvent(“es:getPlayerFromId”, source, function(user)
local identifier = user.getIdentifier()
–print(identifier)
checkIsCop(identifier, source)
end)
end)


#5

I have the same probleme