02.05.2009, 12:39
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
Callbacks
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:
Don't set it to low because, it's takes more memory if the update time is low.
Update history
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
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
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);
pawn Код:
public OnObjectRotated(objectid)
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
Update history
- V1.0: First public release
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>
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