Drakath Posted January 11, 2014 Share Posted January 11, 2014 So I was working on my script today. Everything worked fine on my Tester server where I was alone but when I started the script in my main server with about 70 players it stopped working. My clientscript.log got spammed with these errors: [2014-01-11 16:21:21] ERROR: script.lua:0: attempt to perform arithmetic on a boolean value [2014-01-11 16:21:21] WARNING: script.lua:0: Bad 'element' pointer @ 'getElementPosition'(1) I think it happened when I made this: if count < tonumber(bots) then Anyway can someone tell me what do these errors mean? Link to comment
Dealman Posted January 11, 2014 Share Posted January 11, 2014 First error means you're trying to do some calculation on a boolean(true or false) value. Second error means that you're trying to get the position of something that isn't a valid element. Can't really help unless you provide relevant code. 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