15.11.2011, 22:41
Quote:
Cometi um erro...
procura essa linha: pawn Код:
pawn Код:
|
@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;
}
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