OnPlayerKeyStateChange
#8

thanks malice, but I was wrong .

Код:
What is the difference between:

# define PRESSED (%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
//where %0 is KEY_FIRE.

and:

if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))//
Sorry.
Reply


Messages In This Thread
OnPlayerKeyStateChange - by Zoutdaxv - 11.12.2009, 22:44
Re: OnPlayerKeyStateChange - by Backwardsman97 - 11.12.2009, 23:10
Re: OnPlayerKeyStateChange - by LarzI - 11.12.2009, 23:12
Re: OnPlayerKeyStateChange - by Correlli - 11.12.2009, 23:18
Re: OnPlayerKeyStateChange - by Malice - 11.12.2009, 23:31
Re: OnPlayerKeyStateChange - by Zoutdaxv - 11.12.2009, 23:33
Re: OnPlayerKeyStateChange - by Malice - 11.12.2009, 23:38
Re: OnPlayerKeyStateChange - by Zoutdaxv - 12.12.2009, 00:05
Re: OnPlayerKeyStateChange - by LarzI - 12.12.2009, 00:22
Re: OnPlayerKeyStateChange - by Malice - 12.12.2009, 02:10

Forum Jump:


Users browsing this thread: 3 Guest(s)