[FilterScript] OnPlayerPressEnter,OnPlayerPressCAPSLOCK etc...
#6

Quote from wiki.sa-mp.com:

Quote:

This callback is called whenever a player presses or releases one of the watched keys (see GetPlayerKeys). The keys which are watched are not all keyboard keys, but just San Andreas assigned function keys, this means that, for example, you can't detect when someone presses the "A" key, but can detect when they press their sprint key (which may, or may not, be assigned to "A").

Now read it until you understand why your code is incorrect.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)