SA-MP Forums Archive
why are these objects not moving... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: why are these objects not moving... (/showthread.php?tid=293307)



why are these objects not moving... - Super_Panda - 28.10.2011

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;

}



Re: why are these objects not moving... - anantanni - 28.10.2011

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;

}



Respuesta: why are these objects not moving... - Super_Panda - 28.10.2011

Its the same I guess... >_>


Re: why are these objects not moving... - MP2 - 28.10.2011

You need to specify the speed.