GetPlayerKeys
#1

Hello y'all! I'm creating a script, where, if you got shoot at legs you will walk with a limp ( WALK_FAT_OLD ). I use this include. I use GetPlayerKeys for observe if the player uses the directional keys, but it seems doesn't work as it ought to work, because sometimes if I press the 'W' key, the system thinks I use 'S' key or conversely, in the same way, the 'A' key with the 'D' key. So I designed the script thus. The problem is that sometimes I must stop the player for change the direction. How should I resolve the problem?

* Sorry for my bad English, I'm not a native speaker.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)