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
functions.lua
And i deleted the sql items and reuploaded with the default es_extended items sql but it didn’t work.