worldtime help - 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: worldtime help (
/showthread.php?tid=590545)
worldtime help -
wordflexx - 30.09.2015
Hello the time now is 10:35 , but i want one fs with time 12:35 is possible ?
Sorry my bad english
AW: worldtime help -
Kaliber - 30.09.2015
Yes sure...just do this:
PHP код:
new h,m,s;
gettime(h,m,s);
h += 2; //now you set the h 2 hours forwards..
//Here you can show the server time :)
Re: AW: worldtime help -
wordflexx - 30.09.2015
Quote:
Originally Posted by Kaliber
Yes sure...just do this:
PHP код:
new h,m,s;
gettime(h,m,s);
h += 2; //now you set the h 2 hours forwards..
//Here you can show the server time :)
|
Please give with full fs :/
AW: worldtime help -
Kaliber - 30.09.2015
For what?
Dude..just look in your script for this row..and then add this h+=2
Thats all