FS] - Clock Made Easy [1hr = 60mins, 1min = 60sec's]
#21

finally this script is working on my server too
Reply
#22

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

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
Reply
#24

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
Reply
#25

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
Reply
#26

ok its god
iwill keep like it was my clock
Reply
#27

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.
Reply
#28

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

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.
Reply
#30

i will wate for update
Reply
#31

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?
Reply
#32

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
Reply
#33

Kapil FtW
Reply
#34

Maby you will use TextDrawSetString do not doestry or create...
Reply
#35

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

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

Код:
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
Reply
#38

Oh link gone wanted this one lol
Reply
#39

Wheres download link?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)