10.10.2012, 18:59
@BlueGames,You didn't get the point,
KEY_CROUCH detect crouch's,not the key itself.
The player can change the key for crouching to any key on the keyboard,means you tell him to click C while the C for him(which is 'to crouch') is set to the key U,so he will need to press U to enter the interior and not C.
OT: OnPlayerKeyStateChange
KEY_CROUCH detect crouch's,not the key itself.
The player can change the key for crouching to any key on the keyboard,means you tell him to click C while the C for him(which is 'to crouch') is set to the key U,so he will need to press U to enter the interior and not C.
OT: OnPlayerKeyStateChange