03-06-2006, 04:04 AM
I'm trying to figure out how to make something happen, when a player presses alt+o.
Anyone have any idea?
Anyone have any idea?
Basic help (not sure where to post this)
|
03-06-2006, 04:04 AM
I'm trying to figure out how to make something happen, when a player presses alt+o.
Anyone have any idea?
03-06-2006, 04:28 AM
03-06-2006, 05:11 AM
as far as i know... 'alt' can't be used in vb programs. i was going to use it instead of the delete key to cast spells on other players.
03-06-2006, 11:12 AM
here is an example
private sub Advo() Dim ascii as long if key ascii = Keyhere then End if End sub that works fine for me dunno if it may for you ^^ (Thats v.basic) Also look at the talking subs and see how its done externally
03-06-2006, 04:11 PM
I know how to do that, I just don't know what the code is for the alt keys. Lol.
03-06-2006, 04:15 PM
Works with keydown/up and getasynckeystate. Keycode = 18.
03-06-2006, 04:22 PM
The keycode for alt is 18?
(Even so, I can't test right now, because of my other problem. ![]()
03-06-2006, 04:26 PM
Yes, the keycode for alt is 18.
03-06-2006, 06:48 PM
dont know where you heard that obsidian...
03-06-2006, 07:40 PM
Eh, I decided to just put the buttons on the screen, instead. So, don't worry about this.
03-06-2006, 08:01 PM
could use the SetHokey API
|
« Next Oldest | Next Newest »
|