SA-MP Forums Archive
[FilterScript] Analog Clock - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Analog Clock (/showthread.php?tid=548767)



Analog Clock - Pottus - 02.12.2014

This is something I thought of a while ago but never got around to doing it until tonight it is a analog clock you can create multiple ones if you choose to as well another neat feature is you can set the z-rotation to anything you want and the hands will still update.

Functions:

pawn Код:
CreateClock(Float:cx, Float:cy, Float:cz, Float:cangle)
DestroyClock(index)
This requires the streamer for the static objects.
Texture Studio was used to create the clock of course.


PasteBin
http://pastebin.com/rnnUUCy5


Re: Analog Clock - Alex Magaсa - 02.12.2014

Cool gj thx 4 sharing


Re: Analog Clock - UltraScripter - 02.12.2014

nice!


Re: Analog Clock - XtremeR - 02.12.2014

Great one, +3.


Re: Analog Clock - M0HAMMAD - 02.12.2014

WOW !
Amazing !


Re: Analog Clock - iReacheR - 02.12.2014

This is nice.


AW: Analog Clock - Flori - 02.12.2014

Great job dude.


Re: Analog Clock - Pottus - 02.12.2014

Just a quick update I improved the code for setting the rotation of the clock arms there is no need to recalculate using AttachPoint().


Re: Analog Clock - _Application_ - 02.12.2014

wow!! nicee


Re: Analog Clock - Abagail - 02.12.2014

Seems more like an include though, are you sure this is a filterscript? Anyway, nice job creating the actual clock object!