OS: WINXP
LIB: DELPHIX

Hi everyone. I would like to display a message on the screen indicating that a bonus life is awarded. At the moment the message is displayed as per the code below, problem is that points can be scored faster or slower and the time that the message is displayed is directly connected to scoring. I would like the message to be displayed for 3 or 5 seconds independent of the scores. ie If points reaches 25000, 50 000 etc the message must be shown for 5 seconds.

Thanks!

[pascal]if ((points >= 25000) and (points <= 27000)) then
begin
dxFontBonus.TextOut(dxDrawGame.Surface,300,330,'Bo nus Life');
end;[/pascal]