Key binary compared or ASCII ?
#1

Question:

How to compare key`s pressed by Binary value of key?
How to compare key`s by ASCII value of key?

My interest in this is to see all key`s pressed on keyboard in binary or in ASCII.
Reply
#2

Not possible in SA-MP, only these keys can be used:

https://sampwiki.blast.hk/wiki/GetPlayerKeys#Key_List
Reply
#3

Ok , i understand this not possible by samp any plugin like keyboard hook , i see in older version of samp function named " getstring " is it possible to link some plugin on this way to get string from keyboard ?
getstring
Quote:

This function reads a string from the keyboard. You can specify the number of cells you want to read (not characters!), The second parameter.
Broken function in the current version of San Andreas - Multiplayer. It can not be used!
Parameters:
({{{1}}})
string [] The line, which can be written input.
size = sizeof (string) The number of cells that must be read from the keyboard.
pack = false Do you want to pack a string?
getstring (string, 256, false);

Reply
#4

Tnx you ****** for save my time if you did`n make it then it definitely not possible.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)