SCRIPT ERROR @es_extended/server/main.lua:141: bad argument #1 to 'pairs' (table expected, got number)

I’m new to esx and i made a basic server just essentialmode es_extended and mysql and stuff but i get this error

SCRIPT ERROR @es_extended/server/main.lua:141: bad argument #1 to ‘pairs’ (table expected, got number)

I’m really not sure what it mean any help would be appreciated!

Screenshot (50)|690x359

Did you find the answer to your question?

do you know the answer to this error?

Just like it says: It expected to have a table but got a number as a parameter/value. Open the file and check for typos and that kind of stuff. You can always send a screenshot of it here and I will probably be able to help you more, as I don’t know what code we are dealing with.

1 Like