[ajuda] com isso ?
#1

pawn Код:
if(PlayerToPoint(20, i,2015.4500,1017.0900,996.8750))
            {//Four Dragons
                GameTextForPlayer(i, "~r~Fechado", 5000, 1);
                SetPlayerInterior(i, 0);
                SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
            }
            else if(PlayerToPoint(20, i,2233.9099,1710.7300,1011.2987))
            {//Caligula
                GameTextForPlayer(i, "~r~Fechado", 5000, 1);
                SetPlayerInterior(i, 0);
                SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
            }
            else if(PlayerToPoint(10, i,2265.7900,1619.5800,1090.4453))
            {//Caligula Roof 1
                GameTextForPlayer(i, "~r~Fechado", 5000, 1);
                SetPlayerInterior(i, 0);
                SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
            }
            else if(PlayerToPoint(10, i,2265.7800,1675.9301,1090.4453))
            {//Caligula Roof 2
                GameTextForPlayer(i, "~r~Fechado", 5000, 1);
                SetPlayerInterior(i, 0);
                SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
            }
            else if(PlayerToPoint(20, i,1133.0699,-9.5731,1000.6797))
            {//West Casino place
                GameTextForPlayer(i, "~r~Fechado", 5000, 1);
                SetPlayerInterior(i, 0);
                SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
            }
            else if(PlayerToPoint(20, i,292.0274,-36.0291,1001.5156))
            {//Ammunation 1
                GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
                SetPlayerInterior(i, 6);
                SetPlayerPos(i,264.6288,77.5742,1001.0391);
                PlayerInfo[i][pJailTime] = 300;
                PlayerInfo[i][pJailed] = 1;
            }
            else if(PlayerToPoint(20, i,308.2740,-141.2833,999.6016))
            {//Ammunation 2
                GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
                SetPlayerInterior(i, 6);
                SetPlayerPos(i,264.6288,77.5742,1001.0391);
                PlayerInfo[i][pJailTime] = 300;
                PlayerInfo[i][pJailed] = 1;
            }
            else if(PlayerToPoint(20, i,294.3212,-108.7869,1001.5156))
            {//Ammunation 3 (small one's)
                GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
                SetPlayerInterior(i, 6);
                SetPlayerPos(i,264.6288,77.5742,1001.0391);
                PlayerInfo[i][pJailTime] = 300;
                PlayerInfo[i][pJailed] = 1;
            }
            else if(PlayerToPoint(20, i,288.8592,-80.4535,1001.5156))
            {//Ammunation 4 (small one's)
                GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
                SetPlayerInterior(i, 6);
                SetPlayerPos(i,264.6288,77.5742,1001.0391);
                PlayerInfo[i][pJailTime] = 300;
                PlayerInfo[i][pJailed] = 1;
            }
            else if(PlayerToPoint(20, i,316.9583,-165.4707,999.6010))
            {//Ammunation 5 (Unprotected)
                GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
                SetPlayerInterior(i, 6);
                SetPlayerPos(i,264.6288,77.5742,1001.0391);
                PlayerInfo[i][pJailTime] = 300;
                PlayerInfo[i][pJailed] = 1;
            }
        }
    }
}
cara quando eu tiro isso da 26 erros como que arrumo isso ?
Reply
#2

As vezes 26 Erros pode ser uma chave mal fechada , ou aberta apenas.
Reply
#3

Quando tirar, deixa 1 chave. Tire apenas 3 chaves
Reply
#4

pawn Код:
if(PlayerToPoint(20, i,2015.4500,1017.0900,996.8750))
{
 {//Four Dragons
  GameTextForPlayer(i, "~r~Fechado", 5000, 1);
  SetPlayerInterior(i, 0);
  SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
 }
 else if(PlayerToPoint(20, i,2233.9099,1710.7300,1011.2987))
 {//Caligula
  GameTextForPlayer(i, "~r~Fechado", 5000, 1);
  SetPlayerInterior(i, 0);
  SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
 }
 else if(PlayerToPoint(10, i,2265.7900,1619.5800,1090.4453))
 {//Caligula Roof 1
  GameTextForPlayer(i, "~r~Fechado", 5000, 1);
  SetPlayerInterior(i, 0);
  SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
 }
 else if(PlayerToPoint(10, i,2265.7800,1675.9301,1090.4453))
 {//Caligula Roof 2
  GameTextForPlayer(i, "~r~Fechado", 5000, 1);
  SetPlayerInterior(i, 0);
  SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
 }
 else if(PlayerToPoint(20, i,1133.0699,-9.5731,1000.6797))
 {//West Casino place
  GameTextForPlayer(i, "~r~Fechado", 5000, 1);
  SetPlayerInterior(i, 0);
  SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
 }
 else if(PlayerToPoint(20, i,292.0274,-36.0291,1001.5156))
 {//Ammunation 1
  GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
  SetPlayerInterior(i, 6);
  SetPlayerPos(i,264.6288,77.5742,1001.0391);
  PlayerInfo[i][pJailTime] = 300;
  PlayerInfo[i][pJailed] = 1;
 }
 else if(PlayerToPoint(20, i,308.2740,-141.2833,999.6016))
 {//Ammunation 2
  GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
  SetPlayerInterior(i, 6);
  SetPlayerPos(i,264.6288,77.5742,1001.0391);
  PlayerInfo[i][pJailTime] = 300;
  PlayerInfo[i][pJailed] = 1;
 }
 else if(PlayerToPoint(20, i,294.3212,-108.7869,1001.5156))
 {//Ammunation 3 (small one's)
  GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
  SetPlayerInterior(i, 6);
  SetPlayerPos(i,264.6288,77.5742,1001.0391);
  PlayerInfo[i][pJailTime] = 300;
  PlayerInfo[i][pJailed] = 1;
 }
 else if(PlayerToPoint(20, i,288.8592,-80.4535,1001.5156))
 {//Ammunation 4 (small one's)
  GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
  SetPlayerInterior(i, 6);
  SetPlayerPos(i,264.6288,77.5742,1001.0391);
  PlayerInfo[i][pJailTime] = 300;
  PlayerInfo[i][pJailed] = 1;
 }
 else if(PlayerToPoint(20, i,316.9583,-165.4707,999.6010))
 {//Ammunation 5 (Unprotected)
  GameTextForPlayer(i, "~r~Preso Por Tentar Entrar Na ammunation", 5000, 1);
  SetPlayerInterior(i, 6);
  SetPlayerPos(i,264.6288,77.5742,1001.0391);
  PlayerInfo[i][pJailTime] = 300;
  PlayerInfo[i][pJailed] = 1;
 }
}
Nao entendi para que tanta chave la em baixo ._.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)