Keys in other callback's.
#1

Hi. How i can check player pressed key, in my public? i mean i have a timer, and i want to check in him if player pressed a key like:

Код:
forward MYPUBLIC( playerid );
public MYPUBLIC( playerid )
if (PRESSED( KEY_HANDBRAKE ) )
{
//ACTION.
}
But i will get error, because newkeys is unknow and oldkeys. Maybe can help with this?
Reply


Messages In This Thread
Keys in other callback's. - by budelis - 26.07.2012, 13:10
Re: Keys in other callback's. - by Vince - 26.07.2012, 13:16
Re: Keys in other callback's. - by Stigg - 26.07.2012, 13:19
Re: Keys in other callback's. - by budelis - 26.07.2012, 13:28

Forum Jump:


Users browsing this thread: 1 Guest(s)