How to give the player an extra life?

Blitz3D Forums/Blitz3D Beginners Area/How to give the player an extra life?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

So I’m pretty new to blitz and programming in general but I can't seem to figure out how to do it. When my player’s score reaches 25,000 I want my player to gain an extra life, but when ever I try to code it, it ends up adding 1 to it every time it loops through.
The code that I’m adding:

If score >= 25000
lives = lives + 1
EndIf

I understand why it’s adding one, I just can't find away to only add it once.

Its probably really simple =)
Any help would be appreciated