Mike269 Posted February 5, 2015 Share Posted February 5, 2015 Yeah it's me again well there's the problem: Error: Line 101 "Attempt to compare nil with number" Line 101: if percentage < 100 then setElementData(currentHouseRobMarker, "percentage", percentage) else setElementData(currentHouseRobMarker, "percentage", 100) finishHouseRob() Link to comment
TAPL Posted February 5, 2015 Share Posted February 5, 2015 percentage is nil, it should be a number. Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 (edited) DELETED Edited February 5, 2015 by Guest Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 nvm fixed it thanks but now there's another error.. error: https://fbcdn-sphotos-h-a.akamaihd.net/ ... 1797eb54de line 89: https://fbcdn-sphotos-h-a.akamaihd.net/ ... d45737a9c7 Link to comment
ALw7sH Posted February 5, 2015 Share Posted February 5, 2015 did you defined percentage ? and if you did what is percentage ? variable,data etc.. Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 No idea man lol my friend gave me this script I really need help with that Link to comment
xeon17 Posted February 5, 2015 Share Posted February 5, 2015 Then ask your friend for help , by the way you shouldn't delete your scripts because they could help other peoples with the same or similar issue. Link to comment
Mike269 Posted February 5, 2015 Author Share Posted February 5, 2015 I didn't delete my script I just deleted the text "What do you mean" lmao Link to comment
ALw7sH Posted February 5, 2015 Share Posted February 5, 2015 the 2nd error shows error in line 105 and your screenshot for line 89 as you said 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