[+REP] On player press a key
#1

There's any way to detect when player is pressing on a key?
I'm not talking about the defined keys such as KEY_SPRINT KEY_CROUCH etc
for example if I want to recognize when somebody is pressing on B
Reply
#2

I think It's possible with a plugin, have a look here: https://sampforum.blast.hk/showthread.php?tid=268671
Reply
#3

Edit: I think you got your answer above
Reply
#4

Quote:
Originally Posted by GoldenLion
View Post
I think It's possible with a plugin, have a look here: https://sampforum.blast.hk/showthread.php?tid=268671
tyvm! but this plugin seems to be bugged? he said that in the large red title
Reply
#5

That is by design. It is impossible to detect specific keys without the use of a client-side plugin. And no-one's interested in downloading extra stuff to be able to play on a server.
Reply
#6

Quote:
Originally Posted by Vince
View Post
That is by design. It is impossible to detect specific keys without the use of a client-side plugin. And no-one's interested in downloading extra stuff to be able to play on a server.
well so do you have any tip for me?
I'm making a MMORPG server and the players would have a lot of attacks and skills...
how will they use them if not with the keys?
and plz don't say with commands cause it'd take a lot of expensive time to write them and also would be lame.
Reply
#7

Tell your users to make macros for ability mcommands, or create an own mutliplayer client.
i think that are your options
Reply
#8

Without side clients - no.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)