Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-08-2004, 07:48 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
And of course more GUI problems :)

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;
}
}

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.