ID('s) problem
#3

pawn Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
  new Menu:CurrentMenu = GetPlayerMenu(playerid);
  if(CurrentMenu == lvpdmenu)
  {
      switch(row)
      {
        case 0: //request
        {
           gTeam[playerid] = TEAM_LVPD;
          SendClientMessage(playerid, 0x00FF00FF, "You are now LVPD, Welcome!");
          SetPlayerTeam(playerid, TEAM_LVPD);
        }
        case 1: //resign
        {
           gTeam[playerid] = TEAM_CIVIL;
           SendClientMessage(playerid, 0x00FF00FF, "You are no longer LVPD");
           SetPlayerTeam(playerid, TEAM_CIVIL);
         }

       }
  }
  return 1;
}
Reply


Messages In This Thread
ID('s) problem - by Rizard - 23.05.2009, 10:26
Re: Can't get single Team activation - ID('s) problem - by Weirdosport - 23.05.2009, 10:28
Re: Can't get single Team activation - ID('s) problem - by miokie - 23.05.2009, 10:30
Re: Can't get single Team activation - ID('s) problem - by Rizard - 23.05.2009, 12:15
Re: Can't get single Team activation - ID('s) problem - by Cabby - 23.05.2009, 14:11
Re: Can't get single Team activation - ID('s) problem - by miokie - 23.05.2009, 16:13
Re: Can't get single Team activation - ID('s) problem - by Rizard - 23.05.2009, 16:22
Re: Can't get single Team activation - ID('s) problem - by Rizard - 24.05.2009, 10:24
Re: Can't get single Team activation - ID('s) problem - by Rizard - 03.06.2009, 12:09
Re: ID('s) problem - by Rizard - 14.06.2009, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)