tried to make to clock/synchronisation
#1


can someone please take a look as i have run out of ideas on how to fix it.

http://www.mediafire.com/file/wzyekio2ydn/clock.rar

Reply
#2

wow that clock has been made like it was a whole GM you can make it like 150 lines less 0_o

but w/e code is too long dont wanna fix it now
Reply
#3

Ever heard of indentation?
Reply
#4

Quote:
Originally Posted by JeNkStAX
Ever heard of indentation?
Or pastebin.
Reply
#5

Not sure what is wrong with it, but there is no errors
Reply
#6

tried this made it bigger still dosent work

http://louisknight1990.pastebin.ca/1334083

this is what i get




Louis
Reply
#7

SetTimer("Clock(playerid)", 1000, 1); is probably causing your problem.
Use SetTimerEx on OnPlayerConnect OR loop instead of playerid.
Reply
#8

my clock starts with gamemode init. and when the timer timers the var minutes is addet 1 and if minutes = 60 minutes = 0 and hours = hours+1 and then
for (something for every id)
playersetclock(plid,minutes,hours)

and yeah it works!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)