SA-MP Forums Archive
Time ERROR :O - 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)
+--- Thread: Time ERROR :O (/showthread.php?tid=421114)



.... - MagedXp - 08.03.2013

.....


Re: Time ERROR :O - MagedXp - 09.03.2013

......


Re: Time ERROR :O - Mystique - 09.03.2013

Код:
SetWorldTime(0);
worldTime = 0;
seconds = 1;

forward TimeUpdate();
public TimeUpdate()
{
worldTime++;
SetWorldTime(worldTime);
minuto=0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
Have you tried this?


Re: Time ERROR :O - MP2 - 09.03.2013

I'm not even certain that

pawn Код:
worldTime%=24;
is a valid operation..


Re: Time ERROR :O - MagedXp - 09.03.2013

......


Re: Time ERROR :O - Mystique - 09.03.2013

Show us your SetTimer or SetTimerEx.


Re: Time ERROR :O - MagedXp - 09.03.2013

.....


Re: Time ERROR :O - MagedXp - 09.03.2013

.....


Re: Time ERROR :O - Mystique - 09.03.2013

May I ask why you have the seconds%=60 statement also?


Re: Time ERROR :O - MagedXp - 10.03.2013

.......