Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: rathore on January 08, 2014, 09:20:08 pm

Title: Duel, Fight, Exit to bank teleport system by me
Post by: rathore on January 08, 2014, 09:20:08 pm
Paste it in (!) commands

[pawn]
else if (strcmp(cmd, "!duel", true) == 0)
   {
   tmp = strtok(cmdtext, idx);
      if (!strlen(tmp)) {
                SetPlayerPos(playerid, -1726.6647, -158.4375, 14.8683,0,0);
               SendClientMessage(playerid, COLOR_BLUE, "Welcome to Duel!");
            GivePlayerWeapon(playerid, 20, 100);
            GivePlayerWeapon(playerid, 22, 100);
            GivePlayerWeapon(playerid, 26, 100);
            new plname[24],enstr[128];
                GetPlayerName(playerid,plname,24);
                format(enstr,sizeof(enstr),"%s has join Duel.",plname);
                SendClientMessageToAll(COLOR_BLUE,enstr);
      }
      return 1;
   }
   else if (strcmp(cmd, "!fight", true) == 0)
   {
   tmp = strtok(cmdtext, idx);
      if (!strlen(tmp)) {
                SetPlayerPos(playerid, -985.8318, 554.6478, 113.7330,0,0);
               SendClientMessage(playerid, COLOR_BLUE, "Welcome to Fight Zone!");
            GivePlayerWeapon(playerid, 23, 100);
            GivePlayerWeapon(playerid, 20, 100);
            GivePlayerWeapon(playerid, 32, 100);
            new plname[24],enstr[128];
                GetPlayerName(playerid,plname,24);
                format(enstr,sizeof(enstr),"%s has join fight zone.",plname);
                SendClientMessageToAll(COLOR_BLUE,enstr);
      }
      return 1;
   }
   else if ( strcmp( cmd, "!exit", true ) == 0 )
   {
           SetPlayerPos( playerid, -825.6501, -340.4714, 11.0712,0,0 );
            new plname[24],enstr[128];
                GetPlayerName(playerid,plname,24);
                format(enstr,sizeof(enstr),"%s Has Left the current location.",plname);
                SendClientMessageToAll(COLOR_BLUE,enstr);
      return 1;
   }[/pawn]
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: NeskWriter on January 09, 2014, 04:51:23 pm
Ale/Mrockx 's style, huh
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: MatheuS on January 09, 2014, 11:58:44 pm
New Mrockdark xD
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: NeskWriter on January 10, 2014, 12:52:55 am
New Mrockdark xD

Yeee, Alemrock :D
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: rathore on January 10, 2014, 09:51:39 am
NO its my command its not a copy  8)
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: MatheuS on January 11, 2014, 07:32:24 pm
NO its my command its not a copy  8)

I did not say it was copying, and why you seem to aledark mrockxx and doing simple commands  ;D ;D
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: NeskWriter on January 11, 2014, 09:25:02 pm
NO its my command its not a copy  8)

I did not say it was copying, and why you seem to aledark mrockxx and doing simple commands  ;D ;D

His commands aren't same with Ale/mrockx's, but the code is very similar to.
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: mrockxkingbutt on January 17, 2014, 10:34:59 pm
Please Dude! U nD Ale Please Stop Copying My Script Styles. nD Body Please Make Your Own New Style. I Have A Request From Stormeus To Remove This. Its A Simple Nd Easy Cmd. Lol
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: stormeus on January 18, 2014, 05:33:54 am
I Have A Request From Stormeus To Remove This. Its A Simple Nd Easy Cmd.

Nope.
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: NeskWriter on January 18, 2014, 01:38:32 pm
Please Dude! U nD Ale Please Stop Copying My Script Styles. nD Body Please Make Your Own New Style. I Have A Request From Stormeus To Remove This. Its A Simple Nd Easy Cmd. Lol

Kinda funny, But it's not others copying yours, it's you're copying others.

Off topic: Please dude, stop writing every simple word from the big letter.
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: Aldo on January 18, 2014, 01:54:46 pm
256 cell for the string? Are you serious?

This is pretty much an incomplete duel system as players will have to keep typing "!duel" to re-enter when you should make them auto join the duel on spawn until the type the "!exit" command.
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: mrockxkingbutt on January 18, 2014, 03:26:31 pm
Yeah! Mine is better than you. It also have auto spawn at duel until dont use cmd !exit
Title: Re: Duel, Fight, Exit to bank teleport system by me
Post by: stormeus on January 19, 2014, 05:33:13 am
Please do not flag stuff as "[NEW]", as it's not going to be new in a few weeks.