why are these objects not moving...
#1

pawn Код:
#include <a_samp>

    new Gate1;
    new Gate2;


public OnGameModeInit()
{


    Gate1 = CreateObject(5005,1776.30004883,-1775.40002441,55.00000000,0.00000000,0.00000000,89.99993896); //object(lasrunwall1_las) (1)
    Gate2 = CreateObject(5005,1776.30004883,-1775.40002441,55.00000000,0.00000000,0.00000000,89.99450684); //object(lasrunwall1_las) (4)
}
CMD:testy(playerid, params[])
{

{
    MoveObject(Gate1, 1781.30004883,-1980.40002441,55.000);
    MoveObject(Gate2, 1781.30004883,-1980.40002441,55.000);
    print("MOVING");

}
return 1;

}
Reply
#2

pawn Код:
#include <a_samp>

    new Gate1;
    new Gate2;


public OnGameModeInit()
{


    Gate1 = CreateObject(5005,1776.30004883,-1775.40002441,55.00000000,0.00000000,0.00000000,89.99993896); //object(lasrunwall1_las) (1)
    Gate2 = CreateObject(5005,1776.30004883,-1775.40002441,55.00000000,0.00000000,0.00000000,89.99450684); //object(lasrunwall1_las) (4)
}
CMD:testy(playerid, params[])
{
    MoveObject(Gate1, 1781.30004883,-1980.40002441,55.000,20);
    MoveObject(Gate2, 1781.30004883,-1980.40002441,55.000,20);
    print("MOVING");

}
return 1;

}
Reply
#3

Its the same I guess... >_>
Reply
#4

You need to specify the speed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)