[Ajuda] Portão bope só aparece pros bope. '-'
#1

Código:
PHP код:
    if(strcmp(cmd"/pbabrir"true) == 0)
    {
        if (
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == || IsACop(playerid))
        { 
//GateGaragem
            
F_MoveObjectportaobp1874.8966,-1622.9390,13.4091,3);
            
GameTextForPlayer(playerid"~w~Portão B.O.P.E ~n~~b~aberto"50003);
            
SetTimer("PORTAOBP"5000false);
        }
        else
        {
            
SendClientMessage(playeridCOLOR_RED"*** Você não está perto do portao ou nao e do B.O.P.E ***");
          }
          return 
1;
    } 
Esse portão só aparece pros bope, não é bope? não aparece. ;(

Ajudem?

+rep pra quem me ajudar!
Reply
#2

Nгo entendi. O que nгo aparece? O portгo?
Reply
#3

sim, so aparece pros bope o portao '-'
Reply
#4

Pelo que eu estou vendo seu Portгo estб totalmente errado
Siga esse exemplo acho que vai conseguir , ou procura algum tutorial "CRIANDO PORTХES AUTOMATICOS"

Код:
if(strcmp(cmd, "/pb", true) == 0)
	{
		if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 283.095062, -1542.899170, 25.510294) || PlayerToPoint(15.0, playerid, 321.832672, -1488.615112, 25.527353) && PlayerToPoint(15.0, playerid, 321.832672, -1488.615112, 25.527353))
		{ //GateGaragem
			MoveObject( gt3gate, 283.095062, -1542.899170, 33.385311,3,0.0, 0.0, 326.2500);
			MoveObject( gt3gate3, 321.832672, -1488.615112, 33.777353,3,0.0, 0.0, 323.6717);
			GameTextForPlayer(playerid, "~w~Portao BOPE ~n~~b~Aberto", 5000, 3);
			SetTimer("gt3gate2", 5000, false);
		}
	  	return true;
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)