Mike269 Posted February 5, 2015 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()
Mike269 Posted February 5, 2015 Author Posted February 5, 2015 (edited) DELETED Edited February 5, 2015 by Guest
Mike269 Posted February 5, 2015 Author 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
ALw7sH Posted February 5, 2015 Posted February 5, 2015 did you defined percentage ? and if you did what is percentage ? variable,data etc..
Mike269 Posted February 5, 2015 Author Posted February 5, 2015 No idea man lol my friend gave me this script I really need help with that
xeon17 Posted February 5, 2015 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.
Mike269 Posted February 5, 2015 Author Posted February 5, 2015 I didn't delete my script I just deleted the text "What do you mean" lmao
ALw7sH Posted February 5, 2015 Posted February 5, 2015 the 2nd error shows error in line 105 and your screenshot for line 89 as you said
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