23.10.2013, 00:54
Ta TUDO errado.
A parte acima eh a mais logica, ate ela ta errada.
pawn Код:
public OnFilterScriptInit()
{
print("\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");
print(" FilterScript De Barcos V 0.1 By [eDl]_.Robert._[]");
print(" Visite SampeDl.blogspot.com.br ");
print("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n");
Barcolol = CreateObject(8493,1756.6999512,-2550.3000488,31.2999992,0.0000000,0.0000000,90.0000000);//aerols
Barcolol = CreateObject(8493,1533.1999512,-2542.3000488,31.2999992,0.0000000,0.0000000,90.0000000);//aerols
Barcolol = CreateObject(8493,1909.4000244,-1423.6999512,27.6000004,0.0000000,0.0000000,92.0000000);//pista skate
Barcolol = CreateObject(8493,2905.6000977,-1060.5000000,28.7999992,0.0000000,0.0000000,0.0000000);//rua
CreateObject(7096,1557.0999756,-2533.3999023,18.1000004,0.0000000,0.0000000,276.0000000); //Escadas
CreateObject(13749,2893.3000488,-1070.9000244,10.8999996,0.0000000,0.0000000,237.9999847); //Escadas
CreateObject(7096,1778.0000000,-2542.1999512,18.1000004,0.0000000,0.0000000,269.9999695); //Escadas
return 1;
}
CMD:barcos(playerid){
MoveObject(Barcolol , 1756.6999511719, -2550.3000488281, 120.59999847412, 3);//aerols
MoveObject(Barcolol , 1533.1999511719, -2542.3000488281, 138.80000305176, 3);//aerols
MoveObject(Barcolol , 1909.4000244141, -1423.6999511719, 97.599998474121, 3);//skate
MoveObject(Barcolol , 2905.6000976563, -1060.5, 85.599998474121, 3);//rua
SendClientMessage(playerid, -1, "Os Barcos Estгo Em Movimento");
SetTimer("descer", 5000, false);
return 1;
}
CMD:pararb(playerid){
StopObject(Barcolol);
SendClientMessage(playerid, -1, "Os Barcos Estгo Parados");
return 1;
}
public subir() {
MoveObject(Barcolol , 1756.6999511719, -2550.3000488281, 120.59999847412, 3);//aerols
MoveObject(Barcolol , 1533.1999511719, -2542.3000488281, 138.80000305176, 3);//aerols
MoveObject(Barcolol , 1909.4000244141, -1423.6999511719, 97.599998474121, 3);//skate
MoveObject(Barcolol , 2905.6000976563, -1060.5, 85.599998474121, 3);//rua
SetTimer("descer", 5000, false);
return 1;
}
public descer() {
MoveObject(Barcolol, 1756.6999512,-2550.3000488,31.2999992, 2);
MoveObject(Barcolol, 1533.1999512,-2542.3000488,31.2999992, 2);
MoveObject(Barcolol, 1909.4000244,-1423.6999512,27.6000004, 2);
MoveObject(Barcolol, 2905.6000977,-1060.5000000,28.7999992, 2);
SetTimer("subir", 5000, false);
return 1;
}