• Welcome to Vice City Multiplayer.
 

RANDOM WEATHER (pawn) help please !!!

Started by Castagna96, March 24, 2011, 08:37:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Castagna96

Hi guys .. well i was tryng to make a random weather with pawno ,like in 2 minutes chage sunny to rainy ... i use timmers but i can't do it  ??? please someone can help me in this  ;D i reall need the code of random weather  :-[  .

                                                      THX for all  ;) !!!


Robd

I haven't had any luck even making a command to set weather...
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

Castagna96

mm , i had seen a server with pawn that have random weather in apwno, also the RPG server realise (miami-roleplay) ,have this ... but thaks anyway ;)   sorry for my poor inglish  ::)

BIG[H]

its lendengdary RPG / miami dade role play.. its shadow server he and me scripted its its COOl but easy way is
login as rcon admin
/admin your-rcon-password-here-form-server.cfg
then type
/setweather 1
you can 1 - 4 like for sun type 4 for fog type 3 for rain type 2 etc!
My Guru FORUM MUST VISITmegavcmp.freeforums.org

BIG[H] = BIG HaLL

Skirmant

#4
Lemme guess. Pawn doesn't support changing weather yet?
I don't see why you want to make the weather random. If you can just make it repeat it self in a certain pattern.

Announce a new global variable.

new w = 0

Make a timer that runs the function every 60 secs.

QuoteSetTimer("WeatherChange",60000,1);

Make the function.

WeatherChange() {
if (w == 10) w = 0;
SendRconCommand("setweather %i",w);
w++;
}
}


Actually that was what I wanted to say until I tested it and found out that SendRconCommand is another hoax function to make pawn more attractive.
The only obvious way you could pull off a random scripted weather is by ether getting a Squirrel server or connecting mIRC onto the server. Good luck.

F*ckin' lazy ass devs.
I know advance mIRC, average C++, basic Pawn & Squirrel, very basic Java Script.

BIG[H]

by Skirmant
QuoteSetTimer("WeatherChange",60000,1);
May be i would make timer seconds Easy

Ex
SetTimer("WeatherChange",1000*60*1,1); //it is 1 min repeating timer
SetTimer("WeatherChange",1000*60*3,1); //it is 3 min repeating timer
SetTimer("WeatherChange",1000*60*5,1); //it is 5 min repeating timer
My Guru FORUM MUST VISITmegavcmp.freeforums.org

BIG[H] = BIG HaLL

killvn1

I Try add script ! No Error but SendRConCommands not Work ? I Test for a week but SendRconCommands not work ....  >:( >:( >:( ! Why SendRConCommands not Work in Pawno ??? :-* :-* :-*

Robd

SendRconCommand is bugged and there's no weather function so your screwed.
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management