2 questions
i have a spray high code but some times it will just show 000000000000
Code:
public EventSpray ( ) |
Re: 2 questions
I do not know if that's what you wanted, but see if works and add what you want.
PHP Code:
|
Re: 2 questions
It is not possible to determine which keyboard button a player is pressing. You can only know the commands sent to the server.
Also, the forum rule require that your topic title be descriptive. Please update your title to describe your question or issue. If you fail to do so, you risk your threads being trashed. Also, only one topic per thread. |
Re: 2 questions
sorry i ment all the IN_ how can i check what button of does he is pressing
|
Re: 2 questions
Search for get_user_button().
Also: Quote:
|
Re: 2 questions
so can i do like this?
static Button; Button = fm_get_user_button( client ); and then if( Button != IN_MOVE ) cause i know you can do like this if( Button & IN_MOVE ) for if yes but i want if no |
Re: 2 questions
PHP Code:
PHP Code:
|
Re: 2 questions
what i want if negative like you do normaly !=
|
Re: 2 questions
I told you to search. All the information you need is available. Write your code based on the information you found. Test it. If you can't get it to work, start a new thread with an appropriate topic title with the full code that you were testing.
This is also the last warning before I lock this thread for fixing your topic title: Quote:
|
Re: 2 questions
ok you can lock it if you say evrything is in there
|
| All times are GMT -4. The time now is 09:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.