Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: GANGSTER on December 22, 2011, 02:42:03 pm

Title: Need Weather Command
Post by: GANGSTER on December 22, 2011, 02:42:03 pm
GaNGsTeR
Hi! Guys i m new in forums but i'm a good pawno scripter i m want weather command :)
if anyone have so please give me  :-\
Visit my Forums:
Gangsterwarz.smffy.com
Title: Re: Need Weather Command
Post by: Fuzzy168 on December 23, 2011, 06:45:34 am
Sorry. But in Pawn, you can't create a weather command. You can only set the weather with rcon commands. Squirrel allows you to set.  ;)
Title: Re: Need Weather Command
Post by: GANGSTER on December 23, 2011, 06:53:24 am
It's Ok
But can you help me in
!Spree
Only spree command and
Has Kills in a row.  :D
Title: Re: Need Weather Command
Post by: (VEK)Prince on December 26, 2011, 05:55:57 pm
Fuzzy is wrong! there is a command to change weather all you have to do is just set time wise time

like [pawn]SetWorldTime(12);[/pawn]
and settimer by your own like i show the weather of night

Here you go!
[pawn]}
   else if (strcmp(cmd, "!kn", true) == 0) {
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
      else {
         SendClientMessage(playerid,BLUE,"Weather changed to knight mode!");

         format(szMsg,sizeof(szMsg),"Admin [%s] changed the weather to night",gPlayers[playerid]);
            SetWorldTime(20);
      }
      return 1;
[/pawn]

Use this for night but it was an example you can make lots of weather. Only you have to do is change time to as it displays
Title: Re: Need Weather Command
Post by: Saif on December 26, 2011, 06:02:44 pm
weather not change  >:(
Title: Re: Need Weather Command
Post by: GANGSTER on December 26, 2011, 08:33:11 pm
Lol i need
!rainy !fogy like these commands
Title: Re: Need Weather Command
Post by: (VEK)Prince on December 26, 2011, 08:36:24 pm
It must be a bug with ur scripting if it dose'nt work so rejoin your server
Title: Re: Need Weather Command
Post by: Fuzzy168 on December 27, 2011, 08:13:23 am
I'm telling you Prince, I've tried that SetWorldTime Function, it only changes the time. Not the weather.
Title: Re: Need Weather Command
Post by: (VEK)Prince on December 27, 2011, 10:41:08 am
i'll change the weather if it not changes so it must be a bug with your pawno setting or i told you if it dont change rejoin the server