SA-MP Forums Archive
Custom map problem. - 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: Custom map problem. (/showthread.php?tid=426833)



Custom map problem. - LuckyPlaya` - 30.03.2013

I created a custom interior(map) ,but when its raining outside in the town and when i get in that interior its alao raining inside,how can isolate that area inside so it stops raining inside.(like you enter in real interior)


Re: Custom map problem. - judothijs - 30.03.2013

Try setting a custom weather on entering, like when someone enters set the weather to sunny.


Re: Custom map problem. - LuckyPlaya` - 30.03.2013

How can i set that?


Re: Custom map problem. - MrTinder - 30.03.2013

Change player virtual world may be and then try with if(


Re: Custom map problem. - LuckyPlaya` - 30.03.2013

I doesnt has anything to do with vw. Like i sayd,thats not interior,its a map that i created somewhere in the air and made cmd /enter to it. Can you give me the function that i changes the weather for player when he enters it?


Re: Custom map problem. - MrTinder - 30.03.2013

Here is:
pawn Код:
if(strcmp(cmdtext, "/enter", true) == 0)
    {
        SetPlayerWeather(playerid, WeatherID);
        return 1;
    }
You can look WeatherID's on samp wiki


Re: Custom map problem. - LuckyPlaya` - 30.03.2013

But this sets weather to be sunny and when you are out,i need just when you get in that weather,and when you get out that normal weather gets back,is that possible?


Re: Custom map problem. - RajatPawar - 30.03.2013

Quote:
Originally Posted by LuckyPlaya`
Посмотреть сообщение
How can i set that?
https://sampwiki.blast.hk/wiki/SetPlayerWeather


Re: Custom map problem. - LuckyPlaya` - 30.03.2013

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
But this sets weather to be sunny and when you are out,i need just when you get in that weather,and when you get out that normal weather gets back,is that possible?


Re: Custom map problem. - MrTinder - 30.03.2013

It's possible ...