Raised This Month: $ Target: $400
 0% 

GetClientButtons other than the defined?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Fampat
Junior Member
Join Date: Jun 2009
Old 06-19-2009 , 03:29   GetClientButtons other than the defined?
Reply With Quote #1

Hi Folks,
i got a question, again , currently i use a menu to ask players to press key 1 if they want to respawn while in a specific phase of gameplay.

Due to i only have one possible answer to the question i state, i would rather use the OnGameFrame and GetClientButtons insteat of an menu, and fire my event if the player presses the "F4"-key.

So insteat of menu:
Code:
 
Respawn Now?
--------------
1. Yes
2. Close
I would like to have a centertext:
Code:
 
To respawn now press the <F4> key!
So is it possible to check if the client has pressed his "F4"-key?
If so, wich bitsum would the key be?
Is there a list of key-bitsums for sourcemod or a command i can get them showed?

Thanks for any help!

Last edited by Fampat; 06-19-2009 at 03:33.
Fampat 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 21:49.


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