SA-MP Forums Archive
I need a help - 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: I need a help (/showthread.php?tid=241184)



I need a help - Ironboy - 17.03.2011

I made a object in mta.It should be move continuesly without any interfearence (without any commands or "IsPlayerInRangeOfPoint").How to do that?


Re: I need a help - Stigg - 17.03.2011

Set a couple of timers to move or rotate the object back and forth, or whatever.


Re: I need a help - Ironboy - 17.03.2011

Like this?
pawn Код:
SetTimer("Moveobject",100000,true);
pawn Код:
forward Moveobject();
public Moveobject()
{
    MoveObject(id, x, y, z, speed);
}



Re: I need a help - Stigg - 17.03.2011

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
Like this?
pawn Код:
SetTimer("Moveobject",100000,true);
pawn Код:
forward Moveobject();
public Moveobject()
{
    MoveObject(id, x, y, z, speed);
}
Yep, then set another timer to move it back or whatever. Make sure you set the timers to false.
Make one trigger the other.


Re: I need a help - Ironboy - 17.03.2011

ok ty