[Ajuda] Portao Ajuda
#5

Tenta usar SetTimerEx, como coloquei no cуdigo abaixo:

pawn Код:
if(strcmp(cmd, "/portaopcc", true) == 0)
{
    if (PlayerInfo[playerid][pMembro] == 24 || (PlayerInfo[playerid][pLider] == 24)) // PPC
    {
        MoveObject(Pcc,2423.8232, -2089.8859, 14.7974,3, 5);
        SetTimerEx(#MovePcc, 5000, 0, "i", playerid);
        SendClientMessage(playerid, 0x2641FEFF, "Portao aberto");
    }
    else
    {
        SendClientMessage(playerid, 0x2641FEFF, "Vocк nгo й da PPC!");
    }
    return 1;
}

forward MovePcc();
public MovePcc()
{
    MoveObject(Pcc,2423.8232, -2089.8859, 14.7974,3, 5);
}
Reply


Messages In This Thread
Portao Ajuda - by LucasOBGS - 31.03.2013, 16:50
Re: Portao Ajuda - by feliphemort - 31.03.2013, 18:41
Re: Portao Ajuda - by LucasOBGS - 31.03.2013, 20:54
Re: Portao Ajuda - by Schocc - 31.03.2013, 21:52
Re: Portao Ajuda - by Baiano - 31.03.2013, 23:48
Re: Portao Ajuda - by Coreia - 31.03.2013, 23:52
Re: Portao Ajuda - by Baiano - 31.03.2013, 23:55
Re: Portao Ajuda - by Schocc - 01.04.2013, 02:51

Forum Jump:


Users browsing this thread: 1 Guest(s)