tried to make to clock/synchronisation - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tried to make to clock/synchronisation (
/showthread.php?tid=65207)
tried to make to clock/synchronisation -
Louis_Knight - 10.02.2009
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
Re: tried to make to clock/synchronisation -
Think - 10.02.2009
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
Re: tried to make to clock/synchronisation -
ICECOLDKILLAK8 - 10.02.2009
Ever heard of indentation?
Re: tried to make to clock/synchronisation -
Mikep - 11.02.2009
Quote:
Originally Posted by JeNkStAX
Ever heard of indentation?
|
Or pastebin.
Re: tried to make to clock/synchronisation -
Nimphious - 11.02.2009
Not sure what is wrong with it, but there is no errors
Re: tried to make to clock/synchronisation -
Louis_Knight - 11.02.2009
tried this made it bigger still dosent work
http://louisknight1990.pastebin.ca/1334083
this is what i get
Louis
Re: tried to make to clock/synchronisation -
pspleo - 11.02.2009
SetTimer("Clock(playerid)", 1000, 1); is probably causing your problem.
Use SetTimerEx on OnPlayerConnect OR loop instead of playerid.
Re: tried to make to clock/synchronisation -
fredl - 11.02.2009
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!