Raised This Month: $ Target: $400
 0% 

Use Key Command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ebilschnitzel
Junior Member
Join Date: Apr 2008
Old 04-11-2008 , 11:32   Re: Use Key Command
Reply With Quote #7

Hi there,

im working on an updated Diablomod and want to know how and if its possible to put a "menu" to a Key like Use.

I want to set F1 or F2...and so on as menu key, i hope you understand.

Here's a little bit of the code in client_prethink:

Code:
 
 //USE Button actives USEMAGIC
 if (pev(id,pev_button) & IN_USE )
 Use_Spell(id)
Use is used for magic...

Code:
 
 //F?? Button actives Menu
 if (pev(id,pev_button) & ??? )
 showmenu(id)
"F12" doesnt work and the search on the forums didnt help...

Can you guys help me please? Thanks in advance ^^

Regards*
ebilschnitzel is offline
 



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 06:54.


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