0
How can i modify a global variable with a function
im trying to make a function called punch that takes 30 from the variable vida that has 100
1 Resposta
+ 3
https://stackoverflow.com/a/423596
Covers it better than I'd typed. Basically, global keyword to change, don't need the keyword to read.