Hi Guys, i have a script, where you must press F, but if you press then nothing happens, but it should.

Script:

Code:
startheli()
{
	level endon("end_map");
	self endon("disconnect");

	self iprintlnbold("Press F to call your Carepackage!");

	if(self useButtonPressed())
	{
		for(;;)
		{
		self iprintlnbold("should work...");
                //.... script function
                }
         }
}
The script will called but i am 100 % sure the Press F didn't work.

Please help me, what i must do for that?