Key detection
#4

No, OnPlayerKeyStateChange is only called when GTA: San Andreas keys are pressed. Which is whatever the user has specified for certain actions, such as KEY_FIRE. That's what we go by, so if you want to code a key to do something, you need to think in terms of, "I want it to happen when the player presses the fire key" and not, "I want it to happen when the player presses the left mouse button", as player mappings may be different.

I hope this information helps.

Edit: Too late
Reply


Messages In This Thread
Key detection - by Omecken - 21.02.2011, 13:24
Re: Key detection - by Elviss - 21.02.2011, 13:27
Re: Key detection - by armyoftwo - 21.02.2011, 13:28
Re: Key detection - by JaTochNietDan - 21.02.2011, 13:28
Re: Key detection - by Omecken - 21.02.2011, 13:29
Re: Key detection - by JaTochNietDan - 21.02.2011, 13:29
AW: Key detection - by Meta - 21.02.2011, 13:33
Re: Key detection - by Omecken - 21.02.2011, 13:34
Re: AW: Key detection - by JaTochNietDan - 21.02.2011, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)