Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Castagna 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 ;) !!!
-
I haven't had any luck even making a command to set weather...
-
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 ::)
-
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!
-
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.
SetTimer("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.
-
by Skirmant
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
-
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 ??? :-* :-* :-*
-
SendRconCommand is bugged and there's no weather function so your screwed.