SA-MP Forums Archive
Weather intro - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Weather intro (/showthread.php?tid=640441)



Weather intro - king45 - 02.09.2017

Hello, I'm not sure if this is possible but I was wondering how I can change the weather that is being displayed on this loading screen.


Re: Weather intro - Eoussama - 02.09.2017

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


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
I don't understand what you want me to do with this, if I only want to change the intro weather to 4, what would I do?


Re: Weather intro - Eoussama - 02.09.2017

SetPlayerWeathe(playerid, 4);
put this in OnPlayerConnect


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
SetPlayerWeathe(playerid, 4);
put this in OnPlayerConnect
How do I put this OnPlayerConnect? Shouldn't "SetPlayerWeathe" be SetPlayerWeather?


Re: Weather intro - cuber - 02.09.2017

Quote:
Originally Posted by king45
Посмотреть сообщение
How do I put this OnPlayerConnect? Shouldn't "SetPlayerWeathe" be SetPlayerWeather?
It should be "SetPlayerWeather" but Eoussama misspellt it. Do it with pawn, if you want it on your own server.


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by cuber
Посмотреть сообщение
It should be "SetPlayerWeather" but Eoussama misspellt it. Do it with pawn, if you want it on your own server.
Pawn? I want to be able to join any server and see the intro weather as Weather ID 4. How do I add SetPlayerWeather(playerid, 4); to "OnPlayerConnect"? How do I even get OnPlayerConnect?


Re: Weather intro - Luke_James - 02.09.2017

Why do you even care what the weather is for the five-or-so seconds you see the loading screen?


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by Luke_James
Посмотреть сообщение
Why do you even care what the weather is for the five-or-so seconds you see the loading screen?
Why does it matter to you why I care or not? If you don't have any suggestions or know how to change the weather then don't bother posting.


Re: Weather intro - Roozevelt - 02.09.2017

No way!


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by Roozevelt
View Post
No way!
I don't understand what you're trying to say.


Re: Weather intro - Roozevelt - 02.09.2017

Quote:
Originally Posted by king45
View Post
I don't understand what you're trying to say.
You can't, is all related to sa-mp source code.


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by Roozevelt
View Post
You can't, is all related to sa-mp source code.
What about OnPlayerConnect or whatever that other guy was talking about?


Re: Weather intro - Vince - 02.09.2017

That is server-sided. You may be able to hack into it with CLEO or something but I don't know enough about that to give you any details. Frankly, though, I think Luke_James is right. What's the point?


Re: Weather intro - king45 - 02.09.2017

Quote:
Originally Posted by Vince
View Post
That is server-sided. You may be able to hack into it with CLEO or something but I don't know enough about that to give you any details. Frankly, though, I think Luke_James is right. What's the point?
I can compile it into a CLEO script but what would the script be?


Re: Weather intro - Astralis - 02.09.2017

Quote:
Originally Posted by king45
View Post
I can compile it into a CLEO script but what would the script be?
It ain't really worth your time. I personally did never care about weather when joining any server for so many years.


Re: Weather intro - king45 - 03.09.2017

Quote:
Originally Posted by Astralis
View Post
It ain't really worth your time. I personally did never care about weather when joining any server for so many years.
I have time to make my game the way I want it. So it's not possible to change the weather in the loading screen?