[Pedido] Criar Portao
#7

entao, fiz aqui so que o portao abre bugadamente --` poderia ver oque esta errado?

forward PortaoBope2(); (aqui a forward)

new PortaoBope; (new)

PortaoBope = CreateObject(980,1287.4000000,-1652.4000000,15.3000000,0.0000000,0.0000000,89.994 0200);

aqui o comando:

PHP код:
    if(strcmp(cmd"/pbope"true) == 0)
    {
        if ((
IsACop(playerid)) && PlayerToPoint(25.0playerid1287.4000000,-1652.4000000,20.6000000))
        { 
//Portao bope
            
MoveObjectPortaoBope980,1287.4000000,-1652.4000000,20.6000000,0.0000000,0.0000000,89.9940200);
            
GameTextForPlayer(playerid"~w~Portao BOPE ~n~~b~Aberto"50003);
            
SetTimer("PortaoBope2"5000false);
            
SendClientMessage(playeridTEAM_BALLAS_COLOR"O Portгo Fecharб em 5 segundos.");
        }
          return 
true;
    } 
PHP код:
            else if (PlayerToPoint(1i,1287.4000000,-1652.4000000,15.3000000)) // /pbope automatico
            
{
                
MoveObjectPortaoBope980,1287.4000000,-1652.4000000,20.6000000);
                
GameTextForPlayer(i"~w~Portaao bope ~n~~b~Aberto"40003);
                
SetTimer("PortaoBope2"5000false);
            } 
PHP код:
public PortaoBope2()
{
    
MoveObject(PortaoBope,1287.4000000,-1652.4000000,15.30000002);//Portao BOPEClosed
    
return true;

ai esta todo o portao, poderia me dizer oque esta errado ou oque falta? obrigado.
Reply


Messages In This Thread
Criar Portao - by AlessandroXPTO - 20.04.2014, 15:00
Re: Criar Portao - by Lipe_Stronda - 20.04.2014, 15:15
Re: Criar Portao - by AlessandroXPTO - 20.04.2014, 15:18
Re: Criar Portao - by Lipe_Stronda - 20.04.2014, 15:23
Re: Criar Portao - by AlessandroXPTO - 20.04.2014, 15:49
Re: Criar Portao - by Lipe_Stronda - 20.04.2014, 16:00
Re: Criar Portao - by AlessandroXPTO - 20.04.2014, 23:51
Re: Criar Portao - by AlessandroXPTO - 21.04.2014, 08:04
Re: Criar Portao - by DarckWilly - 21.04.2014, 13:10
Re: Criar Portao - by AlessandroXPTO - 21.04.2014, 15:40

Forum Jump:


Users browsing this thread: 3 Guest(s)