SA-MP Forums Archive
TimestampToDate - 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: TimestampToDate (/showthread.php?tid=650631)



TimestampToDate - EvgeniyHostel1992 - 03.03.2018

how to use the function - TimestampToDate?
I have include "TimestampToDate.

I from Ukraine, how to set GMT+2?


Re: TimestampToDate - PepsiCola23 - 03.03.2018

you have an example given in the main thread

https://sampforum.blast.hk/showthread.php?tid=347605


Re: TimestampToDate - EvgeniyHostel1992 - 03.03.2018

I do not know how to write a function in a room / time


Re: TimestampToDate - EvgeniyHostel1992 - 03.03.2018

as a function to use in this public?
PHP код:
forward ClockSync(playerid);
public 
ClockSync(playerid)
{
    new 
string[20];
    
Timestamp,  year,  month,  day,  hour,  minute,  secondHourGMTMinuteGMT 0); - ???????? !
      
format(stringsizeof(string), "%d:%d"hourminute);
    
TextDrawSetString(Text:Clockstring);
    
SetWorldTime(hour);




Re: TimestampToDate - EvgeniyHostel1992 - 04.03.2018

update