Disney
Новичок
Сделал так только баг
Скрины
до открытие
открыл
закрылась
Скрины
до открытие
PHP:
new LSPDdoor;
PHP:
LSPDdoor = CreateObject(1495, 245.66404724121, 72.635139465332, 1002.640625, 0.000000, 0.000000, 0.000000);
PHP:
else if(PlayerToPoint(5.0,playerid,245.66404724121,72.635139465332,1002.640625))
{
if(IsACop(playerid))
{
MoveObject(LSPDdoor,245.66404724121, 72.635139465332, 1002.640625+0.7,0.7, 0.000000, 0.000000, 242.88494873047);
SetTimer("LSPDdoorClose", 5000, 0);
return 1;
}
}
PHP:
forward LSPDdoorClose();
PHP:
public LSPDdoorClose()
{
MoveObject(LSPDdoor, 245.66404724121, 72.635139465332, 1002.640625-0.7,0.7, 0.000000, 0.000000, 0.000000);
}
