-
1 Attachment(s)
Attachment 1204
It works , but I have another problem when I go to the game I push Autoassign not choose weapons and enter the Edit menu works , but when I choose weapons and wants to once again enter the edit menu, then its not work ...
Here's a script:
PHP Code:
init()
{
game["menu_editmenu"] = "editmenu";
precacheMenu(game["menu_editmenu"]);
thread main();
}
main()
{
thread onPlayerConnect();
}
onPlayerConnect()
{
for(;;)
{
level waittill("connected", player);
player thread onMenuResponse();
}
}
onMenuResponse()
{
for(;;)
{
self waittill("menuresponse", menu, response);
///////////////////////////////////////////////////////////////////////////////////////////
if(response == "editmenu")
{
self openMenu(game["menu_editmenu"]);
}
}
}
-
have you tried debugging ANYTHING at all?
-
-
Im not seeing any hints of debugging. No iprintlns anywhere, no results from said iprintlns etc.
-
I no have any errors on console with developer 1/2 and set logfile 2 no error's ...
-
-
forecolor GLOBAL_DISABLED_COLOR
forecolor GLOBAL_UNFOCUSED_COLOR
-
What does this have to, Paho ?
No matter , im trying to do something else...