Sign in to follow this  
Followers 0
DEST

Узнаем ID клавиши по ее нажатию

1 post in this topic

Всем привет! С помощью данного кода вы сможете узнать ID клавиши по ее нажатию, т.е. зажать калавишу на клавиатуре и вам покажет ее ID в чат. 

Ищем public OnPlayerKeyStateChange

И вставляем

new str[30];
format(str,sizeof(str),"%d - newkeys, %d - oldkeys",newkeys,oldkeys);
SendClientMessage(playerid,-1,str);

Автор: E1edge

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0