Posts: 253
Threads: 85
Joined: Jan 2011
Reputation:
0
What's the difference between SetWorldTime() and SetPlayerTime()?
Posts: 715
Threads: 47
Joined: Mar 2011
Reputation:
0
SetWorldTime basically kinda sets the world element/environment, ( for everyone)
example, if you set it to 6, the world environment will be dawn
12 - day
18 - kind of night? getting night
12 - midnight, pure night.
SetPlayerTime basically does the same thing, but for one player + it set's the player's clock.
Posts: 253
Threads: 85
Joined: Jan 2011
Reputation:
0
I know that there's a SAMP wiki and all, I read it. I was just asking what the difference is, because on wiki there are 3 lines in total about these two.
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
I think the wiki accurately explains the difference.
SetPlayerTime() - Sets the clock of the player to a specific value. This also changes the daytime (night/day etc.)
SetWorldTime() - Sets the world time to a specific hour.