Multiple keys with OnPlayerKeyStateChange
#1

I'm trying to check if a player presses key_fire OR key_action.

I have it like this:

Код:
	if(PRESSED(KEY_FIRE) || PRESSED(KEY_ACTION))
But for some reason, only the first key works when I do it like that. So in other words, if I press key_fire I get the desired outcome but not with key_action. I already tried doing multiple different second keys and still always only the first key works.
Reply


Messages In This Thread
Multiple keys with OnPlayerKeyStateChange - by [RVRP]Tyler - 08.06.2011, 23:04
Re: Multiple keys with OnPlayerKeyStateChange - by Gamer_Z - 08.06.2011, 23:19
Re: Multiple keys with OnPlayerKeyStateChange - by [RVRP]Tyler - 09.06.2011, 21:16
Re: Multiple keys with OnPlayerKeyStateChange - by [RVRP]Tyler - 12.06.2011, 23:20
Re: Multiple keys with OnPlayerKeyStateChange - by Gamer_Z - 13.06.2011, 00:37
Re: Multiple keys with OnPlayerKeyStateChange - by [RVRP]Tyler - 16.06.2011, 17:29

Forum Jump:


Users browsing this thread: 2 Guest(s)