menu problem
#1

i have 2 menus in my gm. i have problem when i type admin command /gmx or when server restarts. when i open menu, i select one thing and then appears second menu, but when i shut down it and then turn on it's normal, everything works fine.

why?
Reply
#2

Can you please give us some codes ? We can't do anything without a code...

create menu

on player selected menu thing these two codes
Reply
#3

1st code:

Код:
Menu = CreateMenu("A menu",1,20,120,150,40);
and...

Код:
if(GetPlayerMenu(playerid) == Menu)
  {
  switch(row)
    {
    case 0:
    {
    ...
2nd code:

Код:
spawnmenu = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
    ...
Код:
spawnmenu2 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
     ...
Код:
	spawnmenu3 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
    ...
Код:
	spawnmenu4 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
     ...
Код:
    spawnmenu5 = CreateMenu("Izvelies ieroci", 1, 220.0, 100.0, 150.0, 150.0);
    ...
and...

Код:
	new Menu:CurrentMenu = GetPlayerMenu(playerid);
	if(CurrentMenu == spawnmenu)
	{
  	switch(row)
  	{
	    case 0: 
	    {
         ...
Reply
#4

There are no effects..
Reply
#5

the menus ar continuing, i gave you just beginings...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)