[Ajuda] Animaзгo abrir porta
#7

inicio
pawn Код:
new poderoso;
forward caca(playerid);
public OnPlayerCommandText(playerid, cmdtext[])
pawn Код:
if (strcmp("/entrar12", cmdtext, true, 10) == 0)
    {
            ApplyAnimation(playerid,"PED","DOOR_LHinge_O",4.1,0,1,1,1,1);//animaзao
            poderoso = SetTimerEx("caca", 100, 0, "i", playerid);
        return 1;
    }
no final
pawn Код:
public caca(playerid)
{
      //funзao
     OnPlayerCommandText(playerid,"/entrar");//executa o comando de /entrar
    return 1;
}
Reply


Messages In This Thread
Animaзгo abrir porta - by EduardoRFS - 11.08.2012, 21:01
Re: Animaзгo abrir porta - by Delay - 11.08.2012, 21:21
Re: Animaзгo abrir porta - by EduardoRFS - 11.08.2012, 23:57
Respuesta: Animaзгo abrir porta - by Digao - 12.08.2012, 00:00
Re: Animaзгo abrir porta - by EduardoRFS - 12.08.2012, 02:50
Re: Animaзгo abrir porta - by Victor' - 12.08.2012, 03:59
Respuesta: Animaзгo abrir porta - by henrique_wwi - 12.08.2012, 15:33
Re: Animaзгo abrir porta - by pr0bscur3 - 12.08.2012, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)