SA-MP Forums Archive
How to set up real timezone ? - 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: How to set up real timezone ? (/showthread.php?tid=591834)



How to set up real timezone ? - Rafaeloo - 17.10.2015

in my zone the time now is 13:30.
but in sserver time is 7:00 in roleplay server.
i have a code for eu timezone.
[PHP]if(hour >= 13 && hour <= 13)
return 1; // EU timezone

but its not my timezone on my server.
the time is again 7:00.


Look This Code Is this Ok ?

PHP код:
if(hour >= 13 && hour <= 13)
        return 
1// EU timezone 



Re: How to set up real timezone ? - Face9000 - 17.10.2015

Something like this?


Re: How to set up real timezone ? - J0sh... - 17.10.2015

How can hour be above or equal to 13 and at the same time be blow or equal to 13?


Re: How to set up real timezone ? - Rafaeloo - 17.10.2015

how to make it ? 13 to ...