Question about keys
#1

Is there any way to define if the player has presed the F11 key. I have this under OnPlayerKeyStateChange
Код:
printf("%d", newkeys);
but it doesn't write anything when I pres F11 key. I want to do this for some kind of anticheat if the player pres F11 he will get kicked? Any more ideas how to find out id of this key and is it even possible to find out?
Reply
#2

the SA-MP key functions only include keys used by the game - not all keyboard keys.

You are out of luck.
Reply
#3

Quote:
Originally Posted by kc
the SA-MP key functions only include keys used by the game - not all keyboard keys.

You are out of luck.
are - and + an included keys?
Reply
#4

Quote:
Originally Posted by Leoxide
are - and + an included keys?
Quote:
Originally Posted by kc
the SA-MP key functions only include keys used by the game - not all keyboard keys.
If you don't assign a gta command to a key, then that key won't be detected. SA:MP key system is very limited, sadly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)