[AJUDA] Pedбgio automбtico
#3

Quote:
Originally Posted by Pharrel
Посмотреть сообщение
Cometi um erro...

procura essa linha:

pawn Код:
SetTimer("IsPlayerAtToll", 2000, false);
e substitui por essa:

pawn Код:
SetTimer("IsPlayerAtToll", 2000, true);
Errar й humano kk Vou testar aqui, jбjб posto resultado (:


@EDIT
Mano agora nem a Cancela quer aparecer :/
Olhe como deixei:
pawn Код:
public IsPlayerAtToll()
{
    for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
    {
        if(IsPlayerInRangeOfPoint(playerid,7.0,828.90002441406,-2046.8409423828,12.89999961853))
        {
            MoveObject(Gate1, 834.20001220703,-2060.498046875,12.60000038147, 2000);
            SetObjectRot(Gate1,0,90,0);
            GivePlayerMoney(playerid, -500);
            SetTimerEx("CloseGate", 7000, false, "i", Gate1);
        }
    }
    return 1;
}

public CloseGate(gateid)
{
    if(gateid == Gate1)
    {
        MoveObject(Gate1, 834.20001220703,-2060.498046875,12.60000038147, 2000);
        SetObjectRot(Gate1,0,270,0);
    }
    return 1;
}
@EDITІ
Funcionou perfeitamente, й porque eu jб estava com limite de Objetos, mas a Cancelas esta sendo Setada e nгo esta se Movendo mas tudo Bem =D
Reply


Messages In This Thread
[AJUDA] Pedбgio automбtico - by GustavoBonomo - 15.11.2011, 22:27
Re: [AJUDA] Pedбgio automбtico - by Pharrel - 15.11.2011, 22:37
Re: [AJUDA] Pedбgio automбtico - by GustavoBonomo - 15.11.2011, 22:41
Re: [AJUDA] Pedбgio automбtico - by Pharrel - 16.11.2011, 01:00
Re: [AJUDA] Pedбgio automбtico - by GustavoBonomo - 16.11.2011, 13:53
Re: [AJUDA] Pedбgio automбtico - by [KoS]Izaac - 16.11.2011, 14:35
Re: [AJUDA] Pedбgio automбtico - by GustavoBonomo - 16.11.2011, 14:40
Re: [AJUDA] Pedбgio automбtico - by GustavoBonomo - 16.11.2011, 14:43
Re: [AJUDA] Pedбgio automбtico - by [KoS]Izaac - 16.11.2011, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)