Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: aledark24 on June 27, 2013, 04:18:48 am

Title: Fun Command
Post by: aledark24 on June 27, 2013, 04:18:48 am
[pawn]  else if (strcmp(cmd, "Fun", true) == 0)
   {
    tmp = strtok( cmdtext, idx );
    new i;
     if (!strlen(tmp)) SendClientMessage(playerid, 0xFFFF00AA,"[Error] Write /c fun on/off");
            else
      {
      
           if (strcmp(tmp, "on", true) == 0)
          {
    for (i = 0; i <= MAX_PLAYERS; i ++)
    {
        EnableShootInAir(i,1);
      SetPlayerWeapon(i,32,10000);
     SetGravity(21);
        }
        SendClientMessageToAll(0xFFFF00AA, " Shoot in air - Kill Everyone!! ");
        GameTextForAll("~l~Shoot in air on!!");
        }
    else if (strcmp(tmp, "off", true) == 0) {
    for (i = 0; i <= MAX_PLAYERS; i ++)
    {
        EnableShootInAir(i,0);
SetGravity(100);
    }
    SendClientMessageToAll(0xFFFF00AA, " Shoot in air - DeActivated!! ");
    GameTextForAll("~l~Shoot in air off!!");
    }
      }
    return 1;
}[/pawn]


Enjoy and Comment
Title: Re: Fun Command
Post by: Fire_Head on June 28, 2013, 10:27:26 am
Nice :D
Title: Re: Fun Command
Post by: [KB]ViceMania on July 10, 2013, 12:50:21 am
nice work :)
Title: Re: Fun Command
Post by: aledark24 on July 10, 2013, 01:53:06 pm
Nice :D
nice work :)


thank.you guys.....
Title: Re: Fun Command
Post by: .ElBoyz on July 18, 2013, 03:42:28 pm
As all your work this is another one What we're Grateful, Nice work My friend.
Title: Re: Fun Command
Post by: aledark24 on July 18, 2013, 05:58:01 pm
As all your work this is another one What we're Grateful, Nice work My friend.

fail of google translate
Title: Re: Fun Command
Post by: .ElBoyz on July 19, 2013, 12:41:24 am
As all your work this is another one What we're Grateful, Nice work My friend.

fail of google translate

 -_- Porque tu daƱa el momento Viejo -_-