SA-MP Forums Archive
Weather Automatically changes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Weather Automatically changes (/showthread.php?tid=577505)



Weather Automatically changes - Alpay0098 - 11.06.2015

Hi,
I don't know why and I don't know how does my GM weather change automatically and I just wanna solve this problem.
Is there any problem like this in your GM too or I just got it?
If yes , how can I solve it?
If no , Where do you think this problem comes from?
I'll +Rep the best answer


Re: Weather Automatically changes - BornHuman - 11.06.2015

If you're using your own gamemode then the weather shouldn't change and the time should be 12:00

If you're not, try looking under OnGameModeInit for anything that changes the weather.


Re: Weather Automatically changes - Alpay0098 - 11.06.2015

It doesn't change completely, It just change to another weather in half a second then comes back to the last weather ...
I don't know what d hell is my GM doing ... )


Re: Weather Automatically changes - SickAttack - 12.06.2015

@BornHuman - What did I tell you? Editing a gamemode and having absolutely no clue of what is actually going on internally.

Look into your scripts (gamemode and filterscripts) for any "SetWeather(...);" functions in act, and verify if it's on a timer, if so, delete the function that is forwarded by the timer and remove whatever is related to it.


Re: Weather Automatically changes - Alpay0098 - 12.06.2015

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
@BornHuman - What did I tell you? Editing a gamemode and having absolutely no clue of what is actually going on internally.

Look into your scripts (gamemode and filterscripts) for any "SetWeather(...);" functions in act, and verify if it's on a timer, if so, delete the function that is forwarded by the timer and remove whatever is related to it.
Thanks for helping again, You're my Angel <3

And about your solution, I couldn't find any timer or something like that, Everything looks good.
I don't know what should I do :[


Re: Weather Automatically changes - SickAttack - 12.06.2015

Quote:
Originally Posted by Alpay0098
Посмотреть сообщение
Thanks for helping again, You're my Angel <3

And about your solution, I couldn't find any timer or something like that, Everything looks good.
I don't know what should I do :[
Search for "SetWeather" and/or "SendRconCommand("weather".


Re : Weather Automatically changes - KillerDVX - 12.06.2015

Guys ? We can't make a Timer that Change Weather For example ?


Re: Re : Weather Automatically changes - [KHK]Khalid - 12.06.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
Guys ? We can't make a Timer that Change Weather For example ?
Why not? We can.


Re : Weather Automatically changes - KillerDVX - 12.06.2015

Aww


Re: Weather Automatically changes - Alpay0098 - 12.06.2015

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Search for "SetWeather" and/or "SendRconCommand("weather".
I searched "Weather" and check everything one by one, But couldn't find something that changes the weather accidently ...