Thread: keys
View Single Post
  #4  
Old 12-14-2002, 07:25 PM
Ningnong Ningnong is offline
Registered User
Ningnong's Avatar
Join Date: Nov 2002
Location: < -- way
Posts: 262
Ningnong is on a distinguished road
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.
__________________
Former Global Scripting Team Member


Reply With Quote