06.03.2011, 03:20
I want to check if a player pressed the escape button and he is paused to avoid damage.
Would it work if I set his health - 1. If his I check his health after that and it hasn't changed, does that mean he is paused?
Thanks and any other suggestions would work.
Would it work if I set his health - 1. If his I check his health after that and it hasn't changed, does that mean he is paused?
Thanks and any other suggestions would work.