Author Topic: Need Weather Command  (Read 3816 times)

0 Members and 2 Guests are viewing this topic.

Offline GANGSTER

  • Street Thug
  • *
  • Posts: 19
  • Pawno Scripter
    • View Profile
    • Gangster Warz Clan
Need Weather Command
« on: December 22, 2011, 02:42:03 pm »
GaNGsTeRHi! 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

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Need Weather Command
« Reply #1 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.  ;)
I'm beginning to feel like a Lag God, Lag God

Offline GANGSTER

  • Street Thug
  • *
  • Posts: 19
  • Pawno Scripter
    • View Profile
    • Gangster Warz Clan
Re: Need Weather Command
« Reply #2 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

Offline (VEK)Prince

  • Street Thug
  • *
  • Posts: 10
  • PWN Scripter XC Developer
    • View Profile
Re: Need Weather Command
« Reply #3 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

Offline Saif

  • Street Thug
  • *
  • Posts: 13
    • View Profile
Re: Need Weather Command
« Reply #4 on: December 26, 2011, 06:02:44 pm »
weather not change  >:(

Offline GANGSTER

  • Street Thug
  • *
  • Posts: 19
  • Pawno Scripter
    • View Profile
    • Gangster Warz Clan
Re: Need Weather Command
« Reply #5 on: December 26, 2011, 08:33:11 pm »
Lol i need
!rainy !fogy like these commands

Offline (VEK)Prince

  • Street Thug
  • *
  • Posts: 10
  • PWN Scripter XC Developer
    • View Profile
Re: Need Weather Command
« Reply #6 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

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Need Weather Command
« Reply #7 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.
I'm beginning to feel like a Lag God, Lag God

Offline (VEK)Prince

  • Street Thug
  • *
  • Posts: 10
  • PWN Scripter XC Developer
    • View Profile
Re: Need Weather Command
« Reply #8 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