13.07.2009, 06:51
This won't work becuase key states must be under OnPlayerKeyStateChange.
Actually it will work, but it will only check if the player is near that point and presses the button once, which, in your case, is at OnGameModeInit.
Actually it will work, but it will only check if the player is near that point and presses the button once, which, in your case, is at OnGameModeInit.