all of the object work but the pd door dont.. what can be wrong?
Код:
doorpd = CreateObject(1569,245.82000000,72.68000000,1002.65000000,0.00000000,0.00000000,0.00000000); // usa pd
CreateObject(1569,244.33000000,72.66000000,1002.65000000,0.00000000,0.00000000,0.00000000); // usa pd
CreateObject(3749,1544.16027800,-1627.76159700,18.24122600,0.00000000,0.00000000,270.00000000); //poarta mare lspd
vamapd = CreateObject(980,1542.35009800,-1627.75756800,15.15620400,0.00000000,0.00000000,90.00000000); //vama lspd
gatepd = CreateObject(980,1587.06628400,-1638.18103000,13.70255300,0.00000000,359.14060000,0.00000000); ///gate pd
CreateObject(971,-2624.86450200,204.96580500,3.28957500,0.00000000,0.00000000,-89.99998128); //
CreateObject(971,-2629.24340800,209.38534500,3.32361900,0.00000000,0.00000000,-359.99992510); //
CreateObject(971,-2633.64038100,205.01867700,3.32059800,0.00000000,0.00000000,-449.99996368); //
Код:
Код:
forward doorpdclose();
public doorpdclose()
{
MoveObject(doorpd, 245.82, 72.68, 1002.65, 3.0);
return 1;
}
Pls correct if something wrong
MoveObject(doorpd, 242.82, 72.68, 1002.65, 4.0);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "The door of LSPD has been opened and close in 5 second(s).");
SetTimer("doorpdclose",3500, false);
return 1;