Malone. Posted May 16, 2018 Share Posted May 16, 2018 well my script always giving error like this ERROR: CIOupdatesinfo/updates.slua:170: attempt to perform arithemtic on local 'mmx' (a nil value) line 170 of mine script local val8 = dd + (mmx*2) + math.floor(((mmx+1)*3)/5) + yy + math.floor(yy/4) - math.floor(yy/100) + math.floor(yy/400) + 2 Link to comment
Addlibs Posted May 16, 2018 Share Posted May 16, 2018 As the error message suggests, local variable 'mmx' is has a nil value and you're attempting to use it for arithmetic (basic math operations like addition). You probably never defined mmx, or defined it out of scope. 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now