718 posts
Location
Hawaii
Posted 31 May 2012 - 12:59 AM
I was trying to make a program with a little path that follows you but it keeps erroring when i move.
Code:
http://pastebin.com/HaRy5nEN
1604 posts
Posted 31 May 2012 - 01:08 AM
The problem is here:
minedX = string.sub(mined, 1, string.find("/")-1)
You forgot the first parameter for string.find()
Also on line 16:
minedY = string.sub(mined, string.find("/")+1, string.len(mined))
718 posts
Location
Hawaii
Posted 31 May 2012 - 01:31 AM
The problem is here:
minedX = string.sub(mined, 1, string.find("/")-1)
You forgot the first parameter for string.find()
Also on line 16:
minedY = string.sub(mined, string.find("/")+1, string.len(mined))
Thanks, forgot about that