ID:263698
 
Okay for the Info window for 4.0, when byond is loading and my game is opened, it appears with Stat but a blank screen for its information. What I had set up in 3.55 is when you log onto my game the Stat/Info window is hidden until you fully create a character, or Load your save file. So is there anyway I can hide this Info window until I need it?

Currently Im using

mob
Stat()
if(usr.statpanel == 0)
return
else
statpanel("Stats")

This is how I was able to hide it in 3.5.
You can use windshow() to make screen elements visible or invisible in 4.0.
My Stat panel in 4.0 is:

mob/Stat()
statpanel("[src]'s Stats")
stat("Stat:","[var]")

Works for me, hope it helps.
In response to Farkas
but he's trying to hide it, not get the statpanels up...
In response to Foomer
Nah its alright I figured it out, for winshow(client,"info",show==0) it work pefect for showing it, and putting a 1 for show will hide it. I kept leaving out the "".

Thanks everyone anyway
In response to Jman9901

winshow(client,"Statpanel",1) // This shows this window.
winshow(client,"statpanel",0) // This hides this window.


Of course, you replace statpanel with whatever you are actually calling it.