Changing weather
#1

Hello.

I want to know how to change the weather.

I currently SetWeather, but the weather has changed gradually, 2 minutes later.

I've seen on a server that was a weather changed instantly.

Thank you!
Reply
#2

Function SetWeather(id) (https://sampwiki.blast.hk/wiki/SetWeather) changes a weather instantly, also this is the only one way to change weather. Seems that you have a timer which changes weather after certain amount of time. Anyway, to change weather, simply place
pawn Код:
SetWeather(id);    // id = weather id
at the place where you need to change a weather (some command, for example).
You can find a list of weather id's here:
https://sampwiki.blast.hk/wiki/WeatherID
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)