In-game key-bind menu?
#1

The file I linked to is NOT a filterscript, but a working program. I simply want to make a filterscript-version.

Hi everyone!
Apologies if I sound like a real n00b, I'm new to PAWN. :P

Alright, so I've tried the desktop SA:MP Keybinder program, and think it's awesome.
So what I'd like to make is an In-game keybinder (through a filterscript) that works EXACTLY the same.
Here's my idea:
Quote:

Command: /bindkeys

Then a menu that looks like this:


It should have the ability to bind the ten numeric keys on a keyboard.

HOW MANY KEYS?

- 1 (1)
- 2 (1,2)
- 3 (1,2,3)
- 4 (1,2,3,4)
- 5 (1,2,3,4,5)
- 6 (1,2,3,4,5,6)
- 7 (1,2,3,4,5,6,7)
- 8 (1,2,3,4,5,6,7,8 )
- 9 (1,2,3,4,5,6,7,8,9)
- 10 (1,2,3,4,5,6,7,8,9,0)

BIND | CANCEL


Then when you click a specific one, a series of boxes should appear where you can choose what to bind, in order of 1 to __ depending on which you chose:



BINDER: KEY 1.
This will bind a command to '1.' Default is: "/die"
eg. Then you would put a command, for example "/heal" (without "")
BIND | CANCEL

Would it also be possible to...
  • Set defaults for when you first connect?
  • Save the binded keys to a specific username in a *.ini file?
  • Automatically fill the dialog boxes if there is a command already there and let people confirm those pre-programmed binds?
There's no easier way to put it. <_<
So, any help would be greatly appreciated, and if anyone wants to spend like a weekend or something with me to get this done that would be awesome.

Thanks!
Reply


Messages In This Thread
In-game key-bind menu? - by WizardCM - 21.09.2010, 12:43
Re: In-game key-bind menu? - by Mauzen - 21.09.2010, 12:55
Re: In-game key-bind menu? - by WizardCM - 21.09.2010, 12:59
Re: In-game key-bind menu? - by Seven. - 21.09.2010, 13:04
Re: In-game key-bind menu? - by WizardCM - 21.09.2010, 13:07
Re: In-game key-bind menu? - by Mauzen - 21.09.2010, 13:09
Re: In-game key-bind menu? - by WizardCM - 21.09.2010, 13:18

Forum Jump:


Users browsing this thread: 3 Guest(s)