Jump to content

attempt to call a table value


Senze

Recommended Posts

Posted

Hey Guys i've got a litte Problem

since a short pariot of time I get this error:

attempt to call a table value

but there is no errorline in the console an later it will followed with the following error

attempt to call string Value

to debug this so i dont know how to fix this problem

anyone know's what this error means?

thanks a lot

Posted

post your code!!!

you have something like:

for key,val in something do
-- blabla
end

and it should be:

for key,val in ipairs(something) do -- or "pairs" - it depends..
-- blabla
end

and sometimes your "something" is string variable, not even table!

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

there is very much code so i cant post them all here ^^

but thank you i think i founded in my script a misstake like this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...