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!