Hello!
How do I prevent a variable to go below zero (negative values)?
I want to make a suspicion system, where if a variable reach 10, it's game over, and you can lower it by doing good deeds;
but i don't want it to get negative values.
How do I do it?
How do I prevent a variable to go below zero (negative values)?
I want to make a suspicion system, where if a variable reach 10, it's game over, and you can lower it by doing good deeds;
but i don't want it to get negative values.
How do I do it?