Es_extended ERROR when player drink and eat

Hi guys,

So just to keep it short and sweet… We have ran into a problem whenever a player eats or drinks an item in our FiveM server, an es_extended error is appearing every time without fail.

ERROR
InvokeNative: execution failed: Argument at index 1 was null.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null.

UseItem (@es_extended/server/functions.lua:247)
handler (@es_extended/server/main.lua:420)

Files:

main.lua
image

functions.lua
image

And i deleted the sql items and reuploaded with the default es_extended items sql but it didn’t work.

The esx_basicneeds update fixed that problem!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.