
11-30-2004, 10:45 AM
|
|
Registered User
|
Join Date: Mar 2004
Posts: 68
|
|
|
Sleep doesnt work with the keys.
if (keypressed) {
if (strequals(#p(1),1)) setani plah,; sleep 3;}
If it isnt a continous gani it will restart it when you press during sleep time.
I suppose I could do somethign like:
if (keypressed && this.keydown=0) {
if (strequals(#p(1),1)) {this.keydown=1 setani plah,; sleep 3;
this.keydown=0;};}
I was just wondering if there was an internal command or something.
Speaking of keys how do I use keydown command?
if (keydown(A)) {
setstring clientr.plahplah,0;}
Thats how I understood its used, but that script doesnt do anything. |
|
|
|