Moving several object down?
#3

yep, why not try to look at the rest of it then:
pawn Код:
if(strcmp(cmdtext, "/boat", true) == 0)
{
    MoveObject(boat1, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat2, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat3, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat4, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat5, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat6, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat7, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat8, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat9, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat10, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat11, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat12, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat13, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat14, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat15, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat16, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat17, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat18, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat19, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat20, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat21, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat22, -2651.35, 1595.41, 63.47, 2.0);
    MoveObject(boat23, -2651.35, 1595.41, 63.47, 2.0);
    return 1;
}
if(strcmp(cmdtext, "/boatc", true) == 0)
{
    MoveObject(boat1, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat2, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat3, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat4, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat5, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat6, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat7, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat8, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat9, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat10, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat11, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat12, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat13, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat14, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat15, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat16, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat17, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat18, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat19, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat20, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat21, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat22, --2651.35, 1595.41, -200.0000, 2.0);
    MoveObject(boat23, --2651.35, 1595.41, -200.0000, 2.0);

    return 1;
}
pawn Код:
boat1 = CreateObject(974, -2651.35, 1595.41, 63.47,   -84.00, 178.00, 0.00);
        boat2 = CreateObject(974, -2651.35, 1595.41, 63.47,   -84.00, 178.00, 0.00);
        boat3 = CreateObject(974, -2644.89, 1595.63, 63.47,   -84.00, 178.00, 0.00);
        boat4 = CreateObject(974, -2644.89, 1595.63, 63.47,   -84.00, 178.00, 0.00);
        boat5 = CreateObject(974, -2644.89, 1595.63, 63.47,   -84.00, 178.00, 0.00);
        boat6 = CreateObject(974, -2638.57, 1595.76, 63.47,   -84.00, 178.00, 0.00);
        boat7 = CreateObject(974, -2638.55, 1595.76, 63.47,   -84.00, 178.00, 0.00);
        boat8 = CreateObject(974, -2638.55, 1595.76, 63.47,   -84.00, 178.00, 0.00);
        boat9 = CreateObject(974, -2632.93, 1595.97, 62.31,   -84.00, 178.00, 0.00);
        boat10 = CreateObject(974, -2632.93, 1595.97, 62.31,   -84.00, 178.00, 0.00);
        boat11 = CreateObject(974, -2626.29, 1596.49, 59.88,   -84.00, 178.00, 0.00);
        boat12 = CreateObject(974, -2626.29, 1596.49, 59.88,   -84.00, 178.00, 0.00);
        boat13 = CreateObject(974, -2619.65, 1596.81, 58.00,   -84.00, 178.00, 0.00);
        boat14 = CreateObject(974, -2619.65, 1596.81, 58.00,   -84.00, 178.00, 0.00);
        boat15 = CreateObject(974, -2613.70, 1596.93, 55.18,   -84.00, 178.00, 0.00);
        boat16 = CreateObject(974, -2613.70, 1596.93, 55.18,   -84.00, 178.00, 0.00);
        boat17 = CreateObject(974, -2607.38, 1596.99, 50.76,   -84.00, 178.00, 0.00);
        boat18 = CreateObject(974, -2607.38, 1596.99, 50.76,   -84.00, 178.00, 0.00);
        boat19 = CreateObject(974, -2600.62, 1596.72, 43.87,   -84.00, 178.00, 0.00);
        boat20 = CreateObject(974, -2600.62, 1596.72, 43.87,   -84.00, 178.00, 0.00);
        boat21 = CreateObject(974, -2595.44, 1596.98, 38.22,   -84.00, 178.00, 0.00);
        boat22 = CreateObject(974, -2595.44, 1596.98, 38.22,   -84.00, 178.00, 0.00);
        boat23 = CreateObject(974, -2513.10, 1563.56, 15.42,   -84.00, 178.00, 0.00);
pawn Код:
new boat1;
new boat2;
new boat3;
new boat4;
new boat5;
new boat6;
new boat7;
new boat8;
new boat9;
new boat10;
new boat11;
new boat12;
new boat13;
new boat14;
new boat15;
new boat16;
new boat17;
new boat18;
new boat19;
new boat20;
new boat21;
new boat22;
new boat23;
Reply


Messages In This Thread
Moving several object down? - by phil_lendon - 05.08.2011, 07:57
Re: Moving several object down? - by SmileyForCheat - 05.08.2011, 08:01
Re: Moving several object down? - by phil_lendon - 05.08.2011, 08:04
Re: Moving several object down? - by Wesley221 - 05.08.2011, 08:10
Re: Moving several object down? - by phil_lendon - 05.08.2011, 08:27

Forum Jump:


Users browsing this thread: 1 Guest(s)