[Include] [INC] Smooth Object Rotating
#1

Smooth Object Rotating

What does it do?
With this include you can ROTATE objects slowly.
It's so easy to understand so there are no pics or vids included.

Functions
pawn Код:
native RotateObject(Objectid, Float:RotX, Float:RotY, Float:RotZ, Float:Speed=2.0);
Callbacks
pawn Код:
public OnObjectRotated(objectid)
Editable things
You can change the time to wait to update again.
Default is 10 miliseconds.
Just define SRO_UPDATE_TIME to the value you want.
this example changes the update time to 5 miliseconds:
pawn Код:
#include <a_samp>
#include <SRO>

#define SRO_UPDATE_TIME 5
Don't set it to low because, it's takes more memory if the update time is low.

Update history
  • V1.0: First public release
License
Dutch License:
SRO van NoZer0 is in licentie gegeven volgens een Creative Commons Naamsvermelding-Geen Afgeleide werken 3.0 Nederland licentie.
Gebaseerd op een werk op www.mediafire.com en nozer0.pastebin.com.

English License:
SRO by NoZer0 is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License.
Based on a work at www.mediafire.com and nozer0.pastebin.com.


Download
http://www.mediafire.com/?imjznygyz3g
http://nozer0.pastebin.com/f7e7141c7

How to install
Download SRO.inc from mediafire and put it in the "server">"pawno">"include" folder.
Put this above in your gamemode
pawn Код:
#include <SRO>
And you're done, Now you can use all the functions in your gamemode

Bugs
When rotating, players get a higher ping, don't know how to fix this.

Others
  • Please post your comments about this. I want to improve what i got now.
  • Sorry for my bad english, i am dutch
Reply


Messages In This Thread
[INC] Smooth Object Rotating - by [nl]daplayer - 02.05.2009, 12:39
Re: [INC] Smooth Object Rotating - by SpiderPork - 02.05.2009, 13:09
Re: [INC] Smooth Object Rotating - by [nl]daplayer - 02.05.2009, 13:13
Re: [INC] Smooth Object Rotating - by miokie - 02.05.2009, 14:53
Re: [INC] Smooth Object Rotating - by rensfromrpas - 04.05.2009, 09:27
Re: [INC] Smooth Object Rotating - by pspleo - 04.05.2009, 10:09
Re: [INC] Smooth Object Rotating - by Weirdosport - 04.05.2009, 15:58
Re: [INC] Smooth Object Rotating - by [nl]daplayer - 04.05.2009, 17:03
Re: [INC] Smooth Object Rotating - by Weirdosport - 04.05.2009, 17:20
Re: [INC] Smooth Object Rotating - by [NM]XBOX_360 - 04.05.2009, 17:24
Re: [INC] Smooth Object Rotating - by [nl]daplayer - 04.05.2009, 18:28
Re: [INC] Smooth Object Rotating - by Weirdosport - 04.05.2009, 19:18
Re: [INC] Smooth Object Rotating - by [nl]daplayer - 04.05.2009, 19:45
Re: [INC] Smooth Object Rotating - by Weirdosport - 04.05.2009, 20:03
Re: [INC] Smooth Object Rotating - by NeRoSiS - 21.06.2009, 17:02
Re: [INC] Smooth Object Rotating - by G_ROW_Chez - 22.06.2009, 18:55
Re: [INC] Smooth Object Rotating - by Patrik356b - 18.07.2009, 17:38
Re: [INC] Smooth Object Rotating - by wups - 05.09.2010, 18:52
Re: [INC] Smooth Object Rotating - by Crayder - 28.10.2013, 00:46

Forum Jump:


Users browsing this thread: 4 Guest(s)