Hi, me again.
I'm programming on a little rpg and I made this little very easy code to check, if the player went out 5 fire:

while(firenumber<5){wait(1);} //wait as long as the player went out all fires

And in the function from the fire:

if( -water on me-)
firenumber+=1;

But now, if I went out all fires ingame, nothing happens. I made a digit for the variable firenumber, and it's on 5 and anyway nothing happens. I worked with beep(); so i'm sure the fault is in the Code, which I wrote here.


Hilf mir, dir zu helfen!