Using F1 & F2 to vote?
Does anyone know how to use the keys F1 & F2 to vote? I've seen this done on a few servers, but I can't seem to find anything that shows how to use those keys.
|
Re: Using F1 & F2 to vote?
AMXX doesn't read keys; it reads commands.
|
Re: Using F1 & F2 to vote?
So is there a way to get it to read the F1 & F2 commands instead of Pressing keys 1 and 2 as such:
register_menucmd(register_menuid("Vote2"),MEN U_KEY_1|MENU_KEY_2,"Vote") but using F1 and F2 instead? |
Re: Using F1 & F2 to vote?
Not possible without slowhacking, which is forbidden.
|
Re: Using F1 & F2 to vote?
Quote:
Code:
|
Re: Using F1 & F2 to vote?
One last question, I have keys 6 & 7 bound as "slot6" and "slot7" is there a way to run a function if those buttons are pushed?
I've tried: register_clcmd("slot6", "displayHelp") but it doesn't pick it up (I'm assuming it's not submitting a command to the server and only selecting slot6?). Is it even possible to catch someone pressing 6 bound to "slot6" without slowhacking? I'm sorry if this is a dumb question, but I can't seem to find anything on the search about this. |
| All times are GMT -4. The time now is 00:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.