10.07.2009, 01:14
Smooth Rotate v2
Include by Lavamike
InformationInclude by Lavamike
I released the first version as my first script release on these forums. It was epic long. I have re-made it now and I tried to make it as efficient as possible. It won't run the timer when no objects are being rotated.
Functions
This include adds two new functions.
StartRotateObject(objectid); - Starts rotating the objectid.
StopRotateObject(objectid); - Stops rotating the objectid.
Download
UploadFFS: http://files.uploadffs.com/9/1064919d/SRotate2_u1.zip
Pastebin: http://pawn.pastebin.com/f26724298
Installation
Extract SRotate.inc to your pawno\includes\ folder
At the top of your script add: #include <SRotate2>
Notes
I only ask that you don't remove the credits at the top from the script or at least don't go running around showing your friends saying you made it by yourself. You may modify it as much as you want except for that. Feel free to mirror, post a link in this topic and i'll add it. You can also edit it/make it better and post a link here and I will post your edited version here too. Please provide a brief description on your changes. Also, it should work fine with object streamers. When you destroy an object without using StopRotateObject, the script will automatically stop the object from rotating for you. You may have to edit your object streamer to start the rotation of a certain object or something. I'm not sure.
----------------------------------------------------
Smooth Rotate By Lavamike
Friday, July 10, 2009
Version 2.1
----------------------------------------------------