Thread: keys
View Single Post
  #1  
Old 12-14-2002, 06:47 AM
billybob53 billybob53 is offline
Banned
Join Date: Nov 2002
Location: Usually in wy own world but at the moment in England
Posts: 33
billybob53 is on a distinguished road
Send a message via AIM to billybob53 Send a message via Yahoo to billybob53
keys

jsut wondering....

is this the right format for if the player pressis a specified key? cause i want to make a text field for passwords and login and stuff....

so i got a few questions:

1.) is this the format i should use?

if (keypressed){
if (keydown2(keycode(a),true){addstring this.passfield,a;}
" " " " " "
and so on?

2.) will keydown2 work offline?

3.) Should i use "if (this.passfield=<password>){//stuff} at the end?
Reply With Quote