Missing brackets help (creating a teleport menu)
#10

Yep, Don is right. What I posted was just an indication to where you went wrong, just a shame you couldn't comprehend what I meant.

We all start like that. We're trying to help, but sometimes a quick fix isn't enough. Learn coding correctly, how to handle brackets is the main pointer.

pawn Code:
public OnPlayerSelectedMenuRow(playerid, row)
{
  if(CurrentMenu == teleportmenu)
  {
    switch(row)
    {
      case 0: //Desert Eagle
      {
        // code
      }
      case 1: //Explosion Deathmatch
      {
        //code
      }
      //other cases
    }
  }
  if(CurrentMenu == othermenuHmm)
  {
  }
  return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)