Well right now im working on a pop up window that displays the players stats, code down there is what i got right now. Basically what happens is when i tap the keys it seems to enable the writing and then disable it, its wierd, you have to test it online to see what im talking about. Anyway, I was going to try it with strings to determine if it was enabled or disabled but then I decided I want to have it enabled only while the key is pressed. But it seems to stick disabled while i have the key pressed =\ Help? Am I doing this the right way? Nothing happened when I used if keydown
NPC Code:
//#CLIENTSIDE
timeout =.05;
if (timeout){
while (keydown2(87,true)){
showimg 400,@Rank: (Error),190,150;
changeimgzoom 400,.80;
changeimgvis 400,5;
setplayerprop #c, Stat Screen;
}
if (keydown2(87,false)){
setplayerprop #c, Stat Screen Off;
hideimg 400;
}
}