Posts: 90
Threads: 24
Joined: Feb 2011
Reputation:
0
is there any command that check if stats are opened?
Posts: 398
Threads: 11
Joined: Nov 2010
Reputation:
0
If you can write more information about "Opened Stats"
Posts: 90
Threads: 24
Joined: Feb 2011
Reputation:
0
I made textdraw stats , and now I made command that hide this textdraw when i click enter but now every time I check enter it shows me a string that says that im closing stats. now I need to make that sys check if stats are open and if they are to hide them if not than do nothing
Posts: 725
Threads: 4
Joined: Nov 2010
Reputation:
0
When you hidding those stats, create a variable and set it to 1 then if you want to close.
You check if this variable is 1, if so then you need to hide it and set the variable to 0.
Posts: 90
Threads: 24
Joined: Feb 2011
Reputation:
0
but where to put this, on /stats, or on pressed enter?
Posts: 398
Threads: 11
Joined: Nov 2010
Reputation:
0
Just on stats cmd set variable value "true"
And then pressing enter check if value "true" he can close box or textdraw if false no.
Posts: 90
Threads: 24
Joined: Feb 2011
Reputation:
0
I made it, but it still showing text :S