Raised This Month: $ Target: $400
 0% 

Slot keys run functions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shivek
Junior Member
Join Date: Aug 2011
Old 08-03-2011 , 11:45   Slot keys run functions
Reply With Quote #1

Hi guys!
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".
shivek is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-03-2011 , 12:38   Re: Slot keys run functions
Reply With Quote #2

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.
__________________
Hunter-Digital is offline
shivek
Junior Member
Join Date: Aug 2011
Old 08-04-2011 , 02:56   Re: Slot keys run functions
Reply With Quote #3

Invisible menu system is funny and works!
shivek is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-04-2011 , 04:07   Re: Slot keys run functions
Reply With Quote #4

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.
__________________
Hunter-Digital is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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