MoveObject - 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: MoveObject (
/showthread.php?tid=207235)
MoveObject -
Mike Garber - 05.01.2011
If i move the object with 5000 (5 seconds) in milliseconds it goes as fast as you can't see the object moving, it just appear on the target coordination within less then 1 millisecond. Why is that? :S
Re: MoveObject -
blackwave - 05.01.2011
Structure:
Код:
(objectid, Float:X, Float:Y, Float:Z, Float:Speed)
You're putting 5000 for speed. The time for closing/opening need to be with timer, not with moveobject structure;
Re: MoveObject -
Mike Garber - 05.01.2011
Quote:
Originally Posted by blackwave
Structure:
Код:
(objectid, Float:X, Float:Y, Float:Z, Float:Speed)
You're putting 5000 for speed. The time for closing/opening need to be with timer, not with moveobject structure;
|
Yes, It should take 5000 milliseconds for the object to reach it's destination.
But It takes 1 millisecond.
I don't want a delay before It starts moving, I'm not a noob ^^
Re: MoveObject -
blackwave - 05.01.2011
You should put less than that lol. It's meant for speed, not time. Try 20-100 (between 20 n 100 ). I remember I used to use that.
Re: MoveObject -
Mike Garber - 05.01.2011
Quote:
Originally Posted by blackwave
You should put less than that lol. It's meant for speed, not time. Try 20-100 (between 20 n 100 ). I remember I used to use that.
|
Oh, GOD DAMNIT (outrage on myself).
Lol.. First i just changed It, then I read the wiki to see If I used it right.
Then I read it like it was the time it would take in milliseconds, but I was wrong, it RETURNS the time it will take in milliseconds xD
Thank you very much.