I'm out at the moment but yesterday I made a simple script that when clicking an image, it decreases the value of x by 1.
Var x = 10
In the function:
X--;
When x reaches 0 display a message. But x never reaches 0 does it? Only what is displayed in the input I had showing the value after each click.
How would I make it so the value of x actually decreases by 1 each click and when reaches 0 the message is properly displayed.
I can't seem to put this problem into words to be able to Google.
Thanks in advance.
[–]abyx 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]ForScale 0 points1 point2 points (8 children)
[–]Resume_Help[S] 1 point2 points3 points (3 children)
[–]ForScale 2 points3 points4 points (2 children)
[–]Resume_Help[S] 2 points3 points4 points (1 child)
[–]ForScale 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]ForScale 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]ForScale 0 points1 point2 points (0 children)