AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Slot keys run functions (https://forums.alliedmods.net/showthread.php?t=163803)

shivek 08-03-2011 11:45

Slot keys run functions
 
Hi guys! :grrr:
I need some help. I dont know how to use amx functions by CS weapon slots.

Example: when press slot6 key client print: "you are noob".

Hunter-Digital 08-03-2011 12:38

Re: Slot keys run functions
 
I think menuselect6 or slot6 would be hookable... use client_command() forward and print debug messages there and see what it prints when you press 6 while in game and 6 while in a menu.

shivek 08-04-2011 02:56

Re: Slot keys run functions
 
Invisible menu system is funny and works!

Hunter-Digital 08-04-2011 04:07

Re: Slot keys run functions
 
Yes but doesn't it block other keys aswell ? :) if you press 1,2,3 while in the menu, does it allow you to switch weapons ? Also it's overwritten by buy menus for people that use old menu styles, like me... so I don't think it's a good ideea.


All times are GMT -4. The time now is 03:31.

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