Thread: keys
View Single Post
  #5  
Old 12-14-2002, 07:39 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally posted by Ningnong
I never use if (keypressed) { etc } when using keydown2, I simply use:

if (keydown2(keycode(key),true)){
//do all this stuff;
}

May i remind you that keydown2 doesn't work in a timeout loop.
eg:

//#CLIENTSIDE
if (keydown2(keycode(x),true)){
say2 Mo0;
}

that works. No timeout needed :P

And if you want to make a password field, i suggest using showpoly, you can make a nice looking password field (yes a box) with showpoly.
*bangs your head against the NPC Server repeatly*
Reply With Quote