What's the difference?
#1

What's the difference between SetWorldTime() and SetPlayerTime()?
Reply
#2

https://sampwiki.blast.hk/wiki/SetWorldTime
https://sampwiki.blast.hk/wiki/SetPlayerTime
Reply
#3

http://www.giyf.com/
Use this
Reply
#4

You can find this out on your own. Check out the SA-MP Wiki!

SetPlayerTime() vs. SetWorldTime()
Reply
#5

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.
Reply
#6

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.
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)