Button help
#4

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
Just print the newkeys value?

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    
printf("newkeys: %d"newkeys);
    return 
1;

Ye, this is good way. I tried it, and when I press space i got:

Код:
[21:24:31] newkeys: 8
[21:24:31] newkeys: 0
First line show space ID - 8, but why also that second line appeared? When I press other keys, that line with 0 also appears. How to do, that printf will show only first line?
Reply


Messages In This Thread
Button help - by ,TomY' - 31.08.2018, 07:14
Re: Button help - by Calisthenics - 31.08.2018, 13:03
Re: Button help - by Eoussama - 31.08.2018, 13:03
Re: Button help - by ,TomY' - 31.08.2018, 21:32

Forum Jump:


Users browsing this thread: 1 Guest(s)