Problem!
#2

You were missing a }
pawn Код:
if(strcmp(cmdtext,"/offduty", true) == 0)
{
  if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
  {
    if(OnDuty[playerid]==1)
    {
      ShowMenuForPlayer(copcivil, playerid);
     TogglePlayerControllable(playerid, 0);
    }
    else
    {
      SendClientMessage(playerid, COLOR_GRAD1,"Your not off duty");
    }
  }
  else
  {
    SendClientMessage(playerid, COLOR_GRAD1,"You are not a member of LSPD!");
  }
}
Reply


Messages In This Thread
Problem! - by Packer5 - 02.05.2009, 15:31
Re: Problem! - by ICECOLDKILLAK8 - 02.05.2009, 15:40
Re: Problem! - by Packer5 - 02.05.2009, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)