29.07.2015, 21:26
Hello!
And SetTimerEx to SetTimer.
Does it work then?
PHP код:
forward DoorOpen();
public DoorOpen()
{
MoveDynamicObject(lspddoor1, 253.2000000,106.6130000,1002.2000100,90.0000000, 2.0);
MoveDynamicObject(lspddoor2, 253.2000000,111.5660000,1002.2000100,270.0000000, 2.0);
return 1;
}
forward DoorClose();
public DoorClose()
{
MoveDynamicObject(lspddoor1, 253.2000000,107.6000000,1002.2000100,90.0000000, 2.0);
MoveDynamicObject(lspddoor2, 253.2000000,110.6000000,1002.2000100,270.0000000, 2.0);
return 1;
}
forward DoorOpen2();
public DoorOpen2()
{
MoveDynamicObject(lspddoor3, 239.5000000,115.09200000,1002.2000000,90.0000000, 2.0);
MoveDynamicObject(lspddoor4, 239.5996100,120.0600000,1002.2000000,270.0000000, 2.0);
return 1;
}
forward DoorClose2();
public DoorClose2()
{
MoveDynamicObject(lspddoor3, 239.5000000,116.1000000,1002.2000100,90.0000000, 2.0);
MoveDynamicObject(lspddoor4, 239.5000000,119.1000000,1002.2000100,270.0000000, 2.0);
return 1;
}
Does it work then?