SA-MP Forums Archive
Cant move object :( - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Cant move object :( (/showthread.php?tid=205885)



Cant move object :( - BlackWolf120 - 02.01.2011

hi,
just cant get this object moving

pawn Код:
new barriere;
barriere = CreateObject(2920,2774.79882800,-3052.11132800,34.55515300,89.38135874,0.00000000,-1.71887339);

//also i dont know where to put this function :)
    for(new i = 0; i < MAX_PLAYERS; i++)
   {

    if(IsPlayerInRangeOfPoint(i,4,2774.8975,-3056.0920,35.8516))

    {
MoveObject(barriere,2774.79150400,-3052.11303700,34.55521400, 2.00);
    }
 }

//CreateObject(2920,2774.79882800,-3052.11132800,34.55515300,89.38135874,0.00000000,-1.71887339); //barriere closed
//CreateObject(2920,2774.79150400,-3052.11303700,34.55521400,1.71887339,0.00000000,-1.71887339); //barriere open

hope u can help me

regards...