AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Question about menu keys (https://forums.alliedmods.net/showthread.php?t=3345)

Mugwump 07-04-2004 00:59

Question about menu keys
 
Are we limited to just the 10 numeric menu keys ( 0 .. 9) or is there a way to use other keys and how would we check for them?

Thanks,
Mugwump

Ryan 07-04-2004 01:38

good question, as far as i know there are only the 10 keys available. unless there's some way of figuring out which keys (1<<10)+ are...

Downtown1 07-04-2004 15:19

Well, if it goes according to ASCII, then (1<<10) would be ":" and (1<<11) would be ";"

But maybe it only looks at 0-9 :)

Mugwump 07-04-2004 22:42

Can we please get a definitive answer from someone on the amxx dev team (when time permits of course :) )? If we are limited to numeric keys for the current version what chance is there for a future release to have an expanded selection?

Thanks for any light you can shed! :)
Mugwump

Peli 07-04-2004 23:18

That's a good request or addition to the new Amxx that is coming out , nice thinking. :)

gotdilbert 07-04-2004 23:40

Its a limitation of cs. You could use rebinds (bind q 11, bind w 12) though.

Mugwump 07-06-2004 11:56

gotdilbert, wouldn't that only work if every player on the server had those binds ? If so that woudln't be a very robust solution...

Is it a limitation of CS specifically or all HL-derived mods?

-Mugwump

Downtown1 07-06-2004 12:16

Think about it as having to rebind to use keys such as "ultimate" or "shopmenu", everyone has to do it.

On the other hand, what would be REALLY cool if we could make menus like the new retail buy menu, the one where you can use your mouse ;).

devicenull 07-06-2004 13:40

Im fairly certain the keys correspond to the binds for "slot0-slot9" which means you could only have more if you had slot10.

I'm not 100% sure though

PM 07-06-2004 13:53

AMX/AMXX uses the menuselect client command to get menu keys


All times are GMT -4. The time now is 14:39.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.