I have a function that increases/decreases each time it runs depending in the situation, and after it runs the function the value goes missing.
Its supposed to return a value int that adds to a global var but it doesnt, do you have any ideia why this happens?
Are global vars and functions not able to work together?
Its supposed to return a value int that adds to a global var but it doesnt, do you have any ideia why this happens?
Are global vars and functions not able to work together?