SA-MP Forums Archive
FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - 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: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] (/showthread.php?tid=6439)

Pages: 1 2


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Warriors_Tornado - 11.07.2007

finally this script is working on my server too


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Ze B@ND!D0 - 11.07.2007

Can somebody change the weather? Like 22h it's night and not day?


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Warriors_Tornado - 12.07.2007

when i always start a game or when i dead the time is changing to 00:00 at night.
And sometimes 3 peoples have different times
i had night others day beceause i dyded
can i set time to12:00 when i dyd and spawning to the spawn place


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Kapil - 12.07.2007

Quote:
Originally Posted by Warriors_Tornado
when i always start a game or when i dead the time is changing to 00:00 at night.
And sometimes 3 peoples have different times
i had night others day beceause i dyded
can i set time to12:00 when i dyd and spawning to the spawn place
You r using Samp Clock not this Clock Warrior, U can ask this question in the genreal discustion
__________________________________________________ _____________________________________

Next Update Notes:-

-> The clock will be little widened( width will increase).
-> The clock will also have effect in the weather.
-> Transperent border will be darkened.

If u have anymore suggestions or advices NEVER HESITATE


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - courage - 12.07.2007

You must also understand that this clock is under a textdraw.
I know some filterscripts wich are using KillTextDraw, that COULD effect this clock.
Btw one of them is CarNames :P


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Warriors_Tornado - 12.07.2007

ok its god
iwill keep like it was my clock


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Kapil - 12.07.2007

Quote:
Originally Posted by courage
You must also understand that this clock is under a textdraw.
I know some filterscripts wich are using KillTextDraw, that COULD effect this clock.
Btw one of them is CarNames :P
hmm...but did u forget that textdraws can be assigned a name ? rather like checkpoints and pickup's which cannot be assigned a name to it, textdraws can be assigned a name like for menu's, and a textdraw gets destroyed only if he does TextDrawDestroy(Clock), Anyway even though he destroys it, it will spawn back after every 30secs. So there are no known bugs in this ! be patient the update will be done as soon as possible.


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - wdoyle2 - 12.07.2007

will f10 still take away all stuff off screen or will clock still apear


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - 50p - 12.07.2007

Quote:
Originally Posted by Kapil
Quote:
Originally Posted by courage
You must also understand that this clock is under a textdraw.
I know some filterscripts wich are using KillTextDraw, that COULD effect this clock.
Btw one of them is CarNames :P
hmm...but did u forget that textdraws can be assigned a name ? rather like checkpoints and pickup's which cannot be assigned a name to it, textdraws can be assigned a name like for menu's, and a textdraw gets destroyed only if he does TextDrawDestroy(Clock), Anyway even though he destroys it, it will spawn back after every 30secs. So there are no known bugs in this ! be patient the update will be done as soon as possible.
AFAIK TextDraw can be assign to a "name" (variable tagged with Text). Try to use
pawn Код:
TextDrawDestroy(Text:2)
and you'll see it will destroy text with id 2.
So the "name" holds a number. It is the same with menu.


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - Warriors_Tornado - 12.07.2007

i will wate for update


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - Otis - 10.11.2007

This still crash gta.exe...
I already tried to place the new Text:Clock in the top of the script and to hide TextDraw in OnPlayerDisconnect
But continue the crashs the client...

I am using the version 0.2.2
This version really has many problems with TextDraws...

What should make?


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - Streetplaya - 18.11.2007

Well, you could replace the 24 IF's with one row:

Код:
SetWorldTime(hour);
and why did you make the pawno code from the original example code? (new.pwn)

Greez
Streetplaya


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - JaTochNietDan - 08.12.2007

Kapil FtW


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - Maniek - 15.03.2008

Maby you will use TextDrawSetString do not doestry or create...


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - Ze B@ND!D0 - 15.03.2008

This FS it's great but with PenLS or PenLV it doesn't work well


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - Zh3r0 - 15.03.2008

[color=red]Nice very nice but to me the [color=black]clock sometimes go very fast


Re: FS] - Clock Made Easy [1hr - 60mins, 1min = 60sec's] - adihash - 30.05.2008

Код:
if (minute <= 9){format(string,25,"%d:0%d",hour,minute);}
else {format(string,25,"%d:%d",hour,minute);}
that's better:

Код:
format(string,25,"%d:%02d",hour,minute);
greets
adihash


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - fyndler - 30.05.2008

Oh link gone wanted this one lol


Re: FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's] - aspire5630 - 20.04.2009

Wheres download link?