[Question] Keys
#1

Hi, I have a question:
Is possible make a plugin for get ALL PLAYER KEYS?

Example:
pawn Code:
new Keys, ud, lr;
GetPlayerKeys(playerid, Keys, ud, lr);

if (Keys == KEY_F1) SendClientMessage(playerid, 0xFFFFFFFF, "You're pressing F1");

Thanks you.
Reply
#2

No.

The message you have entered is too short. Please lengthen your message to at least 8 characters.
Reply
#3

Hmmm, ok, but I'll wait a response from Kalcor.
Reply
#4

You would need to get the keys client-side and and theres no way(afaik) to allow plugins access to the clients and what keys the player press
Reply
#5

Quote:
Originally Posted by [RP]Victor
View Post
You would need to get the keys client-side and and theres no way(afaik) to allow plugins access to the clients and what keys the player press
That's just it the player would need to download a 3rd party client, Tannz0rz was testing one he had made and it did detect keys...I forget why he stopped working on it.
Reply
#6

Quote:
Originally Posted by cyber_punk
View Post
That's just it the player would need to download a 3rd party client, Tannz0rz was testing one he had made and it did detect keys...I forget why he stopped working on it.
Yea that is true. It would have to be like the audio plugin.
Reply
#7

I made test plugin about few weeks ago.This can be much better if some expert do it as incognito,Y_less..
http://yfrog.com/m9keydetectbyplivaz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)