View Full Version : how check open menu ?
malyczolg
3rd November 2013, 21:27
how check menu?
if menu isn't opened
if(self.login == 0 && xxxxxx)
{
self openMenu("caccount_login");
}
iCore
7th November 2013, 10:58
You can't check that via script. You can only store in a variable, if you have opened a menu, and clear that if you have closed. But that's really time-consuming I think. In my mod I have stored if some important menus are opened, and ignored the others, there isn't a proper solution for this I think.
Peterlankton
7th November 2013, 14:58
Here's some older thread of mine where I asked the exact same thing. Maybe it helps. But actually is the same content iCore already stated.
http://killtube.org/showthread.php?1431-Check-if-player-has-a-specific-menu-open
IzNoGoD
7th November 2013, 15:16
do a menuresponse onopen and one onclose.
Then figure out the rest yourself
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.