[ajuda] portao q abre com cmd
#1

Ae Galera tipo, coloquei um sisteminha de abrir o portao com cmd, mais tipo, o portao sу ta abrindo ate a metade, ele n abre completamente...

SS:
/imageshack/img688/7266/samp094rt.png


Sistema:


Comando:
Код:
        if(strcmp(cmd, "/pe", true) == 0)
        {
        if ((gTeam[playerid] == Policia) && PlayerToPoint(15.0, playerid, 1546.99853516,-1627.35034180,15.15620422)) {
       MoveObject( PortaoPolicia, 1546.6257,-1628.3569,13.3828,3);
      SendClientMessage(playerid,COLOR_BLUE,"Portao Aberto, ele se fechara em 10 segundos.");
        SetTimer("PP", 10, false);
        } else {
        }
        return 1;
       }
Public:

Код:
public PE()
{
        MoveObject(PortaoPolicia,1546.6257,-1628.3569,13.3828, 2);
        return 1;
}
Agradeзo desde jб quem me ajudar.

@Edit:

Esqueci de falar que ele n fecha dps, queria que dps de 10 segundos aberto ele fecha-se sozinho

Obrigado a quem me ajudar.
Reply


Messages In This Thread
[ajuda] portao q abre com cmd - by gabriel_ - 21.01.2011, 22:01
Re: [ajuda] portao q abre com cmd - by Power_GamerX - 21.01.2011, 22:05
Re: [ajuda] portao q abre com cmd - by ManoLexuS - 22.01.2011, 01:00
Re: [ajuda] portao q abre com cmd - by gabriel_ - 22.01.2011, 10:18
Re: [ajuda] portao q abre com cmd - by ManoLexuS - 22.01.2011, 10:55
Re: [ajuda] portao q abre com cmd - by 385gtamaster - 22.01.2011, 11:42
Re: [ajuda] portao q abre com cmd - by gabriel_ - 22.01.2011, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)