Detecting key
#1

Hi guys, I have problem with detecting a pressed key. I made

Код:
    if(newkeys & KEY_ANALOG_RIGHT) // NUMPAD 6
    {
    	print("alo");
    	// SUSTAV REGISTRACIJE
    	if(_HRP_kSigningUp{playerid} == 1) // OOC DIO
    	{
    		_HRP_GoToICBoard4SignUp(playerid);
    		return (true);
    	}
    	return (true);
    }
and it's nothing happend when I press 6 on Numpad... Player isn't spawned(sign up, spector mode).
Reply
#2

It doesn't even print 'alo'? Did you put this in the OnPlayerKeyStateChange callback?
Reply
#3

Yap, I fixed it... I found 2nd way to switch cameras... Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)