Is it possible ? - 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: Is it possible ? (
/showthread.php?tid=220461)
Is it possible ? -
FreshDoubleX - 03.02.2011
Hello ,
Is it possible to rotate objects on the same spot. Or vehicles on the same spot ?
Thanks for advice.
Re: Is it possible ? - Unknown123 - 03.02.2011
Quote:
Originally Posted by FreshDoubleX
Hello ,
Is it possible to rotate objects on the same spot. Or vehicles on the same spot ?
Thanks for advice.
|
Yes.
Re: Is it possible ? -
veyron - 03.02.2011
For objects use timer and
SetObjectRot
For vehicles use timer and
SetVehicleZAngle
best way i know
Re: Is it possible ? -
FreshDoubleX - 04.02.2011
Thanks guys. Im going to figure something out.
Re: Is it possible ? -
Macluawn - 04.02.2011
Note - Vehicles can't be rotated if nobody is in them.
Re: Is it possible ? -
FreshDoubleX - 04.02.2011
Quote:
Originally Posted by Macluawn
Note - Vehicles can't be rotated if nobody is in them.
|
So if I put one NPC/Bot in it, then it's going to rotate ?
And my math isn't so good. Can someone make the right code, that it is rotating on the same spot.
Re: Is it possible ? -
FreshDoubleX - 06.02.2011
Any idea ? I tried SetObjectRot and SetVehicleZAngle but I didn't figure anything out.
Re: Is it possible ? -
SkizzoTrick - 06.02.2011
Stop Doubleposting,24 hours before Bump
Now about your problem,what's your scope?
![undecided](images/smilies/neutral.gif)
We need some more information
Re: Is it possible ? -
FreshDoubleX - 08.02.2011
Sorry about Doublepost.
Anyways, I have one car created, MyCar1 = Createvehicle...
There is one NPC inside it. Now I want that MyCar1 turns around in the middle.
Not the newest picture, but there is a car inside this circle. I want that it turns around in the middle of circle.