10.01.2010, 11:59
Hey,
I have trouble opening two gates at the same time (also opening one gate at the time).
Here's the part of my script:
Thanks for the help
I have trouble opening two gates at the same time (also opening one gate at the time).
Here's the part of my script:
Код:
new warehousegate; new warehousegate2;
Код:
warehousegate = CreateStreamObject(969,2233.48828125,-2214.86328125,12.546875,0.000000,0.000000,315.58032226563,75); // warehousegate2 = CreateStreamObject(969,2227.2202148438,-2208.5847167969,12.546875,0.000000,0.000000,315.34533691406,75); //
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/opengate", cmdtext, true, 10) == 0)
{
MoveObject(warehousegate, 2238.3955078125, -2219.7905273438, 12.546875,1.50000);
SendClientMessage(playerid,white,"Warehouse gates openening.");
// MoveObject(warehousegate2, 2223.69140625, -2205.0378417969, 12.546875,1.50000);//12.546875
return 1;
}
return 0;
}


peed) - Move a streamed object