Help in understanding the gettime function
#6

No the function gettime(...) stores the values onto your integers each time you call it, so if you call it at the first line before executing the rest of the code it will reset the values to the servers operating systems time.

If you dont specify variables it returns unix timestamp.
https://sampwiki.blast.hk/wiki/Gettime

Edit:
I dont even see why you bother to do the if statements unless you will put other code under them.
Reply


Messages In This Thread
Help in understanding the gettime function - by LiamM - 02.04.2013, 09:12
Re: Help in understanding the gettime function - by RajatPawar - 02.04.2013, 09:13
Re: Help in understanding the gettime function - by LiamM - 02.04.2013, 09:15
Re: Help in understanding the gettime function - by Hanger - 02.04.2013, 09:23
Re: Help in understanding the gettime function - by LiamM - 02.04.2013, 09:27
Re: Help in understanding the gettime function - by Hanger - 02.04.2013, 09:38
Re: Help in understanding the gettime function - by LiamM - 02.04.2013, 10:07
Re: Help in understanding the gettime function - by Hanger - 02.04.2013, 10:09
Re: Help in understanding the gettime function - by LiamM - 02.04.2013, 10:19
Re: Help in understanding the gettime function - by Konstantinos - 02.04.2013, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)