31.03.2013, 23:48
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);
}