Smooth Weather Etc
#1

Is there a way to do smooth weather + smooth time changes without making the clock be like single player where it advances +6hr when die etc?

Thanks
Reply
#2

https://sampwiki.blast.hk/wiki/TogglePlayerClock

You can use the example on the page, it updates the clock if a player dies etc.
Smooth weather is only possible with the clock being active
Reply
#3

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/TogglePlayerClock

You can use the example on the page, it updates the clock if a player dies etc.
Smooth weather is only possible with the clock being active
The clock advances +6hrs? Upon death.
Reply
#4

This is what the example avoids. OnPlayerStateChange is also called onplayerdeath, and it sets the players clock to a global variable clock, so it do not advance
Reply
#5

Thanks, Does the weather change now smoothly. I tested and the times does but aint saw the weather.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)