Author Topic: RANDOM WEATHER (pawn) help please !!!  (Read 4927 times)

0 Members and 1 Guest are viewing this topic.

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
RANDOM WEATHER (pawn) help please !!!
« on: March 24, 2011, 11:37:51 pm »
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  ;) !!!
 
Castagna - EA Founder


Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #1 on: March 25, 2011, 03:02:51 am »
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

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #2 on: March 25, 2011, 03:15:02 am »
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  ::)
Castagna - EA Founder


Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #3 on: March 25, 2011, 10:09:50 am »
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
Code: [Select]
/admin your-rcon-password-here-form-server.cfgthen type
Code: [Select]
/setweather 1you can 1 - 4 like for sun type 4 for fog type 3 for rain type 2 etc!
Outdoor city server Administrator, FS server owner!

Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #4 on: March 25, 2011, 10:52:17 am »
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.

Code: [Select]
new w = 0
Make a timer that runs the function every 60 secs.

Quote
SetTimer("WeatherChange",60000,1);

Make the function.

Code: [Select]
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.
« Last Edit: March 25, 2011, 11:17:47 am by Skirmant »

Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #5 on: March 25, 2011, 12:44:04 pm »
by Skirmant
Quote
SetTimer("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
Outdoor city server Administrator, FS server owner!

Offline killvn1

  • Street Thug
  • *
  • Posts: 33
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #6 on: March 27, 2011, 05:17:46 am »
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 ??? :-* :-* :-*

Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: RANDOM WEATHER (pawn) help please !!!
« Reply #7 on: March 27, 2011, 08:07:46 am »
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